Skip to content

Commit

Permalink
Update enigma-docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Bharadwajshivam28 authored Sep 13, 2024
1 parent 55e377c commit 07faa36
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/enigma-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
id-token: 'write'
env:
DOCKER_IMAGE: devops-machine
DOCKER_TAG_ARM64: ghcr.io/${{ github.repository }}:${{ github.ref_name }}-arm64
#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: amd64
#BUILD_ARCHITECTURE_ARM64: arm64
#BUILD_ARCHITECTURE_AMD64: amd64
PUBLISH: 'true'

steps:
Expand All @@ -28,20 +28,20 @@ jobs:
command: build-publish
DOCKER_IMAGE: ${{ env.DOCKER_IMAGE }}
DOCKER_TAG: ${{ env.DOCKER_TAG_ARM64 }}
BUILD_ARCHITECTURE: ${{ env.BUILD_ARCHITECTURE_ARM64 }}
#BUILD_ARCHITECTURE: ${{ env.BUILD_ARCHITECTURE_ARM64 }}
DOCKERFILE_PATH: .docker/Dockerfile
PUBLISH: ${{ env.PUBLISH }}
TOKEN: ${{ secrets.GITHUB }}
GITHUB_USERNAME: ${{github.actor}}

- 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_AMD64 }}
DOCKERFILE_PATH: .docker/Dockerfile
PUBLISH: ${{ env.PUBLISH }}
TOKEN: ${{ secrets.GITHUB }}
GITHUB_USERNAME: ${{github.actor}}
# - 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_AMD64 }}
# DOCKERFILE_PATH: .docker/Dockerfile
# PUBLISH: ${{ env.PUBLISH }}
# TOKEN: ${{ secrets.GITHUB }}
# GITHUB_USERNAME: ${{github.actor}}

0 comments on commit 07faa36

Please sign in to comment.