Skip to content

Commit

Permalink
proper docker tags
Browse files Browse the repository at this point in the history
  • Loading branch information
bcliang committed Jan 20, 2024
1 parent ced7a55 commit 2f300a7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
run: docker build . --file Dockerfile-alpine --tag $(cat BE_NAME):$(cat RELEASE_TAG)
- name: Tag to release (-alpine)
run: |
docker tag $(cat BE_NAME):$(cat RELEASE_TAG)
docker tag $(cat BE_NAME):$(cat RELEASE_TAG) $(cat BE_NAME):alpine
# - name: Push container to dockerhub
# run: docker push --all-tags $(cat BE_NAME)
publish-ubuntu:
Expand All @@ -44,6 +44,8 @@ jobs:
run: docker build . --file Dockerfile-ubuntu --tag $(cat BE_NAME):$(cat RELEASE_TAG)
- name: Tag to release (-ubuntu) + latest
run: |
docker tag $(cat BE_NAME):$(cat RELEASE_TAG) $(cat BE_NAME):ubuntu
docker tag $(cat BE_NAME):$(cat RELEASE_TAG) $(cat BE_NAME):latest
# - name: Push container to dockerhub
# run: docker push --all-tags $(cat BE_NAME)

0 comments on commit 2f300a7

Please sign in to comment.