mirror of
https://github.com/yanhao98/composite-actions.git
synced 2025-07-13 14:50:48 +08:00
测试 context: 'git'
This commit is contained in:
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
@ -50,6 +50,5 @@ jobs:
|
|||||||
- name: Check Docker image
|
- name: Check Docker image
|
||||||
run: |
|
run: |
|
||||||
set -x;
|
set -x;
|
||||||
echo ${{ github.repository }};
|
|
||||||
docker images;
|
docker images;
|
||||||
docker run --rm ${{ steps.docker-build-push.outputs.imageid }} whoami;
|
docker run --rm ${{ steps.docker-build-push.outputs.imageid }} whoami;
|
||||||
|
@ -42,8 +42,12 @@ runs:
|
|||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@v5 # https://github.com/docker/metadata-action
|
uses: docker/metadata-action@v5 # https://github.com/docker/metadata-action
|
||||||
with:
|
with:
|
||||||
|
context: 'git'
|
||||||
|
# flavor
|
||||||
images: ${{ inputs.metadata_images }}
|
images: ${{ inputs.metadata_images }}
|
||||||
tags: ${{ inputs.metadata_tags }}
|
tags: ${{ inputs.metadata_tags }}
|
||||||
|
sep-tags: '\n'
|
||||||
|
sep-labels: '\n'
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v3
|
uses: docker/setup-qemu-action@v3
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
|
Reference in New Issue
Block a user