fix: tag for the image #23
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: Enigma Docker Build and Publish. | |
on: | |
push: | |
branches: | |
- feat/enigma | |
jobs: | |
docker-build-publish: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: 'read' | |
id-token: 'write' | |
env: | |
DOCKER_IMAGE: ghcr.io/${{ github.repository }} | |
DOCKER_TAG: ${{ github.ref_name }}-${{ github.sha }} | tr '/' '-' | |
PROVIDER: github | |
DOCKER_MULTI_ARCH_BUILD: 'true' | |
steps: | |
- name: Checkout code | |
uses: actions/[email protected] | |
- name: Build and Publish Docker Image MultiArch | |
uses: mr-sunglasses/enigma@multiarch-build | |
with: | |
command: bake-publish | |
DOCKER_IMAGE: ${{ env.DOCKER_IMAGE }} | |
DOCKER_TAG: ${{ env.DOCKER_TAG }} | |
DOCKER_MULTI_ARCH_BUILD: ${{ env.DOCKER_MULTI_ARCH_BUILD }} | |
DOCKERFILE_PATH: .docker/Dockerfile | |
TOKEN: ${{ secrets.GITHUB }} | |
GITHUB_USERNAME: ${{github.actor}} |