Skip to content

Commit

Permalink
Add one step to validate container build
Browse files Browse the repository at this point in the history
  • Loading branch information
Wentao-Kuang committed Sep 30, 2024
1 parent 3325c77 commit 3b93f24
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,8 @@ jobs:
ghcr.io/linz/basemaps/server:${{ steps.version.outputs.version_major_minor }}
ghcr.io/linz/basemaps/server:${{ steps.version.outputs.version }}
push: ${{github.ref == 'refs/heads/master' && startsWith(github.event.head_commit.message, 'release:')}}

- name: 'Validate Containers build'
run: |
docker run ghcr.io/linz/basemaps/server:${{ steps.version.outputs.version }} --help
docker run ghcr.io/linz/basemaps/cli:${{ steps.version.outputs.version }} --help

0 comments on commit 3b93f24

Please sign in to comment.