Skip to content

Commit ece201b

Browse files
committed
test with a normal action rather than part of build/push
1 parent 7521fda commit ece201b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build-container.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,17 @@ jobs:
2626
- uses: actions/checkout@v4
2727
with:
2828
token: ${{ steps.app-token.outputs.token }}
29+
- name: Docker build test
30+
run: docker build . --target test --tag test
31+
- name: Docker test
32+
run: docker run -it test
2933
- uses: metacpan/metacpan-actions/docker-build-push@master
3034
id: build-push
3135
with:
3236
docker_hub_username: ${{ secrets.DOCKER_HUB_USER }}
3337
docker_hub_password: ${{ secrets.DOCKER_HUB_TOKEN }}
3438
ghcr_username: ${{ github.repository_owner }}
3539
ghcr_password: ${{ secrets.GITHUB_TOKEN }}
36-
test-target: test
3740
- name: Update deployed image
3841
if: steps.find-tag-names.outputs.latest
3942
uses: metacpan/metacpan-actions/update-deployed-tag:master

0 commit comments

Comments
 (0)