Skip to content

Commit

Permalink
Push each tag seperately
Browse files Browse the repository at this point in the history
  • Loading branch information
Cocoa committed Aug 6, 2023
1 parent d1f4af9 commit e899407
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-dev.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and push branch image
name: Build and push dev image
on:
push:
branches:
Expand Down Expand Up @@ -33,7 +33,8 @@ jobs:
- name: Docker Build & Push
run: |
docker build -t $DOCKER_SHA_TAG -t $DOCKER_LATEST_TAG --build-arg NOVA_USERNAME=${{ secrets.NOVA_USERNAME }} --build-arg NOVA_API_KEY=${{ secrets.NOVA_API_KEY }} -f cache/dev-dockerfile ./cache/
docker push $DOCKER_SHA_TAG $DOCKER_LATEST_TAG
docker push $DOCKER_SHA_TAG
docker push $DOCKER_LATEST_TAG
env:
DOCKER_SHA_TAG: "ghcr.io/lolibrary/sakura-dev:${{ github.sha }}"
DOCKER_LATEST_TAG: "ghcr.io/lolibrary/sakura-dev:latest"
Expand Down

0 comments on commit e899407

Please sign in to comment.