We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19c43c6 commit ef6884dCopy full SHA for ef6884d
.github/workflows/docker-publish.yml
@@ -18,6 +18,7 @@ env:
18
REGISTRY: ghcr.io
19
# github.repository as <account>/<repo>
20
IMAGE_NAME: ${{ github.repository }}
21
+ TEST_TAG: ${{ github.repository }}:test
22
23
jobs:
24
build:
@@ -67,14 +68,13 @@ jobs:
67
68
with:
69
context: .
70
load: true
- tags: ${{ steps.meta.outputs.tags }}
71
- labels: ${{ steps.meta.outputs.labels }}
+ tags: ${{ env.TEST_TAG }}
72
73
# Test Docker image
74
- name: Run tests of Docker image
75
id: test-docker-image
76
run: |
77
- docker run --rm -i -v $PWD:/lint/input:ro ${{ steps.meta.outputs.tags }} --frail .
+ docker run --rm -i -v $PWD:/lint/input:ro ${{ env.TEST_TAG }} --frail .
78
79
# Build and push Docker image with Buildx (don't push on PR)
80
# https://github.com/docker/build-push-action
0 commit comments