测试 docker/metadata-action

This commit is contained in:
严浩
2024-10-09 09:30:25 +08:00
committed by GitHub
parent fd3ae8966b
commit 863dbd5012
2 changed files with 20 additions and 6 deletions

View File

@ -27,7 +27,12 @@ jobs:
build_push: false
build_load: true
build_tags: image-test
metadata_images: |
docker.io/murielmay67761/docker-example
metadata_tags: |
type=raw,value=latest
- name: Check Docker image
run: |
set -x
docker run --rm image-test:latest whoami
set -x;
# docker run --rm image-test:latest whoami
docker images;