Skip to content

Commit

Permalink
Try to fix container build (#1)
Browse files Browse the repository at this point in the history
Attempt to apply workaround in docker/build-push-action#37
  • Loading branch information
callumforrester authored Mar 14, 2022
1 parent a680c05 commit 148cad9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,17 @@ jobs:
id: buildx
uses: docker/setup-buildx-action@v1

- id: read-docker-image-identifiers
name: Read Docker Image Identifiers
run: echo ::set-env name=IMAGE_REPOSITORY::$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]')

- name: Run build (base container)
uses: docker/build-push-action@v2
with:
builder: ${{ steps.buildx.output.name }}
push: true
tags: |
ghcr.io/${{ github.repository }}:${{ steps.tagger.outputs.image_tag }}
ghcr.io/${{ env.IMAGE_REPOSITORY }}:${{ steps.tagger.outputs.image_tag }}
target: base
cache-from: type=local,src=~/cache
cache-to: type=local,dest=~/cache
cache-to: type=local,dest=~/cache

0 comments on commit 148cad9

Please sign in to comment.