Skip to content

Commit

Permalink
push on main and develop*
Browse files Browse the repository at this point in the history
  • Loading branch information
NelsonDane committed Oct 10, 2023
1 parent eb84037 commit 98391d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
uses: NelsonDane/DockerHub-Actions/.github/workflows/dockerhub_build_push.yml@main
with:
dockerhub_repo_name: auto-rsa
image_tag: ${{ github.ref == 'refs/heads/main' && 'latest' || github.ref == 'refs/heads/develop' && 'develop' }}
should_push: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop' }}
image_tag: ${{ github.ref_name == 'main' && 'latest' || startsWith(github.ref_name, 'develop') && github.ref_name }}
should_push: ${{ github.ref_name == 'main' || startsWith(github.ref_name, 'develop') }}
platforms: linux/amd64,linux/arm64
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
Expand Down

0 comments on commit 98391d2

Please sign in to comment.