File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 1+
2+
13name : Container CI
24
35on :
@@ -46,14 +48,18 @@ jobs:
4648 - name : Set up Docker Buildx
4749 id : buildx
4850 uses : docker/setup-buildx-action@v1
51+
52+ - id : read-docker-image-identifiers
53+ name : Read Docker Image Identifiers
54+ run : echo "IMAGE_REPOSITORY=$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV
4955
5056 - name : Run build (base container)
5157 uses : docker/build-push-action@v2
5258 with :
5359 builder : ${{ steps.buildx.output.name }}
5460 push : true
5561 tags : |
56- ghcr.io/$(echo $ {{ github.repository }} | tr '[:upper:]' '[:lower:]') :${{ steps.tagger.outputs.image_tag }}
62+ ghcr.io/${{ env.IMAGE_REPOSITORY }}:${{ steps.tagger.outputs.image_tag }}
5763 target : base
5864 cache-from : type=local,src=~/cache
5965 cache-to : type=local,dest=~/cache
You can’t perform that action at this time.
0 commit comments