diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ed83716..ccf7076 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,10 +30,12 @@ jobs: metadata_images: | docker.io/murielmay67761/docker-example # metadata_tags: | - # type=raw,value=latest + # type=schedule,pattern=nightly,enable=true,priority=1000 + # type=ref,event=branch,enable=true,priority=600 + # type=ref,event=tag,enable=true,priority=600 + # type=ref,event=pr,prefix=pr-,enable=true,priority=600 - name: Check Docker image run: | set -x; - # docker run --rm image-test:latest whoami - # docker images; + docker images; docker run --rm ${{ steps.docker-build-push.outputs.imageid }} whoami diff --git a/docker-build-push/action.yml b/docker-build-push/action.yml index 5be0154..57e0aa0 100644 --- a/docker-build-push/action.yml +++ b/docker-build-push/action.yml @@ -50,7 +50,7 @@ runs: show-progress: false - name: Extract metadata id: meta - uses: docker/metadata-action@v5 + uses: docker/metadata-action@v5 # https://github.com/docker/metadata-action with: images: ${{ inputs.metadata_images }} tags: ${{ inputs.metadata_tags }}