Skip to content

Commit

Permalink
fix push ghcr latest
Browse files Browse the repository at this point in the history
  • Loading branch information
navigaid committed Oct 30, 2023
1 parent 8d9572f commit c362d2b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@ jobs:

- run: |
docker tag subdirectory/subshell:${{ github.sha }} ghcr.io/subdirectory/subshell:${{ github.sha }}
docker push subdirectory/subshell:${{ github.sha }}
docker push ghcr.io/subdirectory/subshell:${{ github.sha }}
name: docker push ghcr sha
- run: |
docker tag subdirectory/subshell:${{ github.sha }} ghcr.io/subdirectory/subshell
docker push ghcr.io/subdirectory/subshell
docker tag subdirectory/subshell:${{ github.sha }} ghcr.io/subdirectory/subshell:latest
docker push ghcr.io/subdirectory/subshell:latest
if: github.ref == 'refs/heads/main'
name: docker push ghcr latest
Expand Down

0 comments on commit c362d2b

Please sign in to comment.