Skip to content

Commit

Permalink
display pebble version in container for release
Browse files Browse the repository at this point in the history
  • Loading branch information
sheurich committed Mar 4, 2024
1 parent 6624f56 commit 40ce9b3
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Build Release
# Run on semver tags and release publish events.
# Run on release publish events.
on:
push:
tags:
- v*
release:
types:
- published
Expand Down Expand Up @@ -110,3 +107,21 @@ jobs:
platforms: ${{ env.DOCKER_PLATFORMS }}
push: true
tags: ${{ steps.meta.outputs.tags }}
docker-version:
needs:
- docker-build
runs-on: ${{ matrix.docker-os }}
strategy:
matrix:
docker-os:
- ubuntu-latest
- windows-latest
steps:
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Display pebble version in container image
run: docker run ${{ env.DOCKER_IMAGE_BASENAME }}/pebble:latest -version

0 comments on commit 40ce9b3

Please sign in to comment.