Skip to content

Commit

Permalink
Update buildah workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pgschk committed Jan 7, 2024
1 parent ae5e021 commit ffcef5a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/publish-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,6 @@ jobs:
extra-args: |
--pull
# Run container-structure-test
# https://github.com/marketplace/actions/container-structure-test-action
- name: Run container-structure-tests
uses: plexsystems/container-structure-test-action@v0.3.0
with:
image: ${{ steps.docker-metadata.outputs.tags[0] }}
config: test/container-structure-test/tests.yml

- name: Echo Outputs
run: |
echo "Image: ${{ steps.build_image.outputs.image }}"
Expand All @@ -99,6 +91,14 @@ jobs:
buildah inspect ${{ steps.build_image.outputs.image-with-tag }} | jq '.Docker.config.Labels."org.opencontainers.image.title"'
buildah inspect ${{ steps.build_image.outputs.image-with-tag }} | jq '.Docker.config.Labels."org.opencontainers.image.description"'
# Run container-structure-test
# https://github.com/marketplace/actions/container-structure-test-action
- name: Run container-structure-tests
uses: plexsystems/container-structure-test-action@v0.3.0
with:
image: ${{ steps.build_image.outputs.image-with-tag }}
config: test/container-structure-test/tests.yml

# Podman Login action (https://github.com/redhat-actions/podman-login) also be used to log in,
# in which case 'username' and 'password' can be omitted.
- name: Push To ghcr.io
Expand Down

0 comments on commit ffcef5a

Please sign in to comment.