Skip to content

Update enigma-docker.yml #24

Update enigma-docker.yml

Update enigma-docker.yml #24

Workflow file for this run

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 }}
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}}