Skip to content

Commit 08c8a01

Browse files
committed
Update workflow
イメージ名をレポジトリの名前に変更
1 parent 47e0c7a commit 08c8a01

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.github/workflows/docker-build-cloud.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
uses: docker/build-push-action@v5
2727
with:
2828
context: .
29-
tags: "IMAGE"
29+
tags: "xlsoftpartner/net-client"
3030
# For pull requests, export results to the build cache.
3131
# Otherwise, push to a registry.
3232
outputs: ${{ github.event_name == 'pull_request' && 'type=cacheonly' || 'type=registry,push=true' }}

event.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,15 @@ Optional - set cloud builder as default
4040
- サンプルリポジトリが `master` ブランチだったので記述を変更。
4141
- `${{ secrets.DOCKERHUB_USERNAME }}` などがあるので、「Settings>Secres and Variables>Actions」でリポジトリシークレットを追加。
4242

43-
コミットを試す。
43+
コミットを試す。→ログインは出来た。
44+
45+
```text
46+
ERROR: invalid tag "IMAGE": repository name must be lowercase
47+
Error: buildx failed with: ERROR: invalid tag "IMAGE": repository name must be lowercase
48+
```
49+
50+
というエラーが出た。
51+
52+
`tags: "IMAGE"` をイメージ名に修正し、再プッシュ
53+
4454

0 commit comments

Comments
 (0)