Merge pull request #401 from NelsonDane/dependabot/pip/setuptools-75.2.0 #734
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker Build and Push | |
on: | |
push: | |
branches: | |
- 'main' | |
- 'develop*' | |
jobs: | |
call-workflow-dockerhub-build-push: | |
uses: NelsonDane/Custom-GitHub-Actions/.github/workflows/docker-registry-build-push.yml@6729a5a9fba311fabe014c6b75ab58717efdbb17 | |
with: | |
image_name: auto-rsa | |
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: | |
DOCKER_REGISTRY_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} | |
DOCKER_REGISTRY_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} |