Skip to content

Commit

Permalink
Update docker-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tmknight authored Jan 15, 2024
1 parent 4c5f27b commit bc82f13
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ env:

jobs:
get-version:
name: Get package version
runs-on: ubuntu-latest
outputs:
pkg-version: ${{ steps.pkg-version.outputs.PKG_VERSION }}
Expand All @@ -39,6 +40,9 @@ jobs:
echo PKG_VERSION=$(awk -F ' = ' '$1 ~ /^version/ { gsub(/["]/, "", $2); printf("%s",$2) }' Cargo.toml) >> $GITHUB_OUTPUT
build:
name: Build and push Docker image
if: ${{ github.event.workflow_run.conclusion == 'success' }}
needs: get-version
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down

0 comments on commit bc82f13

Please sign in to comment.