diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml index 3466495..c988d42 100644 --- a/.github/workflows/container.yml +++ b/.github/workflows/container.yml @@ -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 \ No newline at end of file + cache-to: type=local,dest=~/cache