Skip to content

Commit 48fe8c5

Browse files
committed
push周り修正
1 parent e36dde2 commit 48fe8c5

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/pr-docker-hato-bot.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,11 @@ jobs:
6868
docker-compose logs
6969
exit 1
7070
- run: docker-compose push
71-
- name: Add latest tag
72-
# if: ${{ github.event_name == 'release' }}
73-
run: |
71+
- run: |
7472
for image in postgres hato-bot; do
7573
image_name="ghcr.io/dev-hato/hato-bot/${image}"
76-
docker tag "${image_name}:${TAG_NAME}" "${image_name}:test"
74+
latest_tag="${image_name}:test"
75+
docker tag "${image_name}:${TAG_NAME}" "${latest_tag}"
76+
docker push "${latest_tag}"
7777
done
78-
- run: docker-compose push
78+
# if: ${{ github.event_name == 'release' }}

0 commit comments

Comments
 (0)