Skip to content

Update enigma-docker.yml #19

Update enigma-docker.yml

Update enigma-docker.yml #19

Workflow file for this run

name: Enigma Docker Build and Publish.
on:
push:
# tags: [ v* ]
jobs:
docker-build-publish:
runs-on: ubuntu-latest
permissions:
contents: 'read'
id-token: 'write'
env:
DOCKER_IMAGE: devops-machine
#DOCKER_TAG_ARM64: ghcr.io/${{ github.repository }}:${{ github.ref_name }}-arm64
#DOCKER_TAG_AMD64: ghcr.io/${{ github.repository }}:${{ github.ref_name }}-amd64
PROVIDER: github
#BUILD_ARCHITECTURE_ARM64: arm64
#BUILD_ARCHITECTURE_AMD64: linux/amd64
PUBLISH: 'true'
steps:
- name: Checkout code
uses: actions/[email protected]
# - name: Build and Publish Docker Image
# uses: clouddrove/[email protected]
# with:
# command: build-publish
# DOCKER_IMAGE: ${{ env.DOCKER_IMAGE }}
# DOCKER_TAG: ${{ env.DOCKER_TAG_AMD64 }}
# BUILD_ARCHITECTURE: ${{ env.BUILD_ARCHITECTURE_ARM64 }}
# DOCKERFILE_PATH: .docker/Dockerfile
# PUBLISH: ${{ env.PUBLISH }}
# TOKEN: ${{ secrets.GITHUB }}
# GITHUB_USERNAME: ${{github.actor}}
# - name: Set up QEMU
# uses: docker/setup-qemu-action@v3
- name: Build and Publish Docker Image
uses: clouddrove/[email protected]
with:
command: build-publish
DOCKER_IMAGE: ${{ env.DOCKER_IMAGE }}
DOCKER_TAG: ghcr.io/${{ github.repository }}:v2-arm64
BUILD_ARCHITECTURE: arm
DOCKERFILE_PATH: .docker/Dockerfile
PUBLISH: ${{ env.PUBLISH }}
TOKEN: ${{ secrets.GITHUB }}
GITHUB_USERNAME: ${{github.actor}}