Skip to content

Commit 41d4450

Browse files
author
Naoki Kanazawa
committed
fix registry
1 parent 71dc31a commit 41d4450

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
- '*'
99

1010
env:
11-
REPOSITORY_NAME: hnron-public.sakuracr.jp
11+
REGISTRY_NAME: hnron-public.sakuracr.jp
1212
IMAGE_NAME: netcon
1313

1414
jobs:
@@ -33,11 +33,12 @@ jobs:
3333

3434

3535
- name: Push to sakuracr
36-
uses: docker/build-push-action@v1
36+
uses: docker/build-push-action@v2
3737
with:
3838
username: ${{ secrets.SAKURACR_USERNAME }}
3939
password: ${{ secrets.SAKURACR_PASSWORD }}
40-
repository: $REPOSITORY_NAME/$IMAGE_NAME
40+
registry: $REGISTRY_NAME
41+
repository: $IMAGE_NAME
4142
tag_with_ref: true
4243

4344
#- name: Log into registry

0 commit comments

Comments
 (0)