Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
rudivanhierden committed Apr 15, 2024
1 parent ddf536b commit e09ae11
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/build-publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,18 +54,15 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- run: echo "GH_IMAGE=${{ steps.meta.outputs.image }}" << $GITHUB_ENV
- run: echo "GH_BRANCH=${{ github.branch }}" << $GITHUB_ENV

- name: Build image and push to GitHub Container Registry
id: docker_build
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: 'ghcr.io/${{ steps.meta.outputs.tags }}'
cache-from: 'type=registry,ref=ghcr.io/${{ env.GH_IMAGE }}:cache-${{ env.GH_BRANCH }}'
cache-to: 'type=registry,ref=ghcr.io/${{ env.GH_IMAGE }}:cache-${{ env.GH_BRANCH }},mode=max'
cache-from: type=registry,ref=ghcr.io/${{ steps.meta.outputs.image }}:cache-${{ env.GITHUB_REF }}
cache-to: type=registry,ref=ghcr.io/${{ steps.meta.outputs.image }}:cache-${{ env.GITHUB_REF }},mode=max
build-args: |
APP=${{ matrix.app }}
- name: Add image output
Expand Down

0 comments on commit e09ae11

Please sign in to comment.