测试 context: 'git'

This commit is contained in:
严浩
2024-10-09 10:15:30 +08:00
committed by GitHub
parent 43f13fcf63
commit 7bb11bfd62
2 changed files with 4 additions and 1 deletions

View File

@ -50,6 +50,5 @@ jobs:
- name: Check Docker image
run: |
set -x;
echo ${{ github.repository }};
docker images;
docker run --rm ${{ steps.docker-build-push.outputs.imageid }} whoami;

View File

@ -42,8 +42,12 @@ runs:
id: meta
uses: docker/metadata-action@v5 # https://github.com/docker/metadata-action
with:
context: 'git'
# flavor
images: ${{ inputs.metadata_images }}
tags: ${{ inputs.metadata_tags }}
sep-tags: '\n'
sep-labels: '\n'
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx