Skip to content

Commit

Permalink
Update docker_publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vanvianen committed Jul 21, 2024
1 parent 1857304 commit e20caa4
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions .github/workflows/docker_publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright Starling Associates BV. All rights reserved.
# Copyright Scape Agency BV. All rights reserved.

name: Docker Publish

Expand Down Expand Up @@ -69,18 +69,9 @@ jobs:
echo Need: $NEED
# Registry Login
# =======================================================================

# - name: Login to ACR
# uses: azure/docker-login@v1
# with:
# login-server: ${{ secrets.REGISTRY_ENDPOINT }}
# username: ${{ secrets.REGISTRY_USERNAME }}
# password: ${{ secrets.REGISTRY_PASSWORD }}

-
name: Login to GHCR
if: github.event_name != 'pull_request'
Expand Down Expand Up @@ -113,7 +104,6 @@ jobs:
org.opencontainers.image.title=hello-world-buildx
org.opencontainers.image.vendor=${{ github.repository_owner }}
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
Expand All @@ -126,19 +116,14 @@ jobs:
name: Build image
uses: docker/bake-action@v2
env:
# GITHUB_REPOSITORY_OWNER: ${{ github.repository_owner }}
# REGISTRY_ENDPOINT: ${{ secrets.REGISTRY_ENDPOINT }}
REGISTRY_ENDPOINT: scapefoundation
REGISTRY_ENDPOINT: ${{ secrets.DOCKERHUB_ORGANIZATION }}
REPOSITORY_ENDPOINT: ghcr.io/${{ github.repository }}
IMAGE_NAME: ${{ secrets.IMAGE_NAME }}
BRANCH: ${{ env.BRANCH }}
VERSION: ${{ env.VERSION }}
with:
files: |
./bin/docker-bake.hcl
# ${{ steps.meta.outputs.bake-file }}
targets: image-all
# pull: true
push: true
# push: ${{ github.event_name != 'pull_request' }}

0 comments on commit e20caa4

Please sign in to comment.