Skip to content

Commit

Permalink
fix(release): re-use alpine version again
Browse files Browse the repository at this point in the history
  • Loading branch information
hazcod authored Dec 11, 2020
1 parent 35701f1 commit 929d37f
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,23 @@ jobs:
-
uses: actions/[email protected]
-
uses: go-semantic-release/action@v1
id: version
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
-
run: echo "Pushing version ${{ steps.version.outputs.version }}"
id: vars
run: |
echo ::set-output name=alpine_version::$(grep '^FROM alpine' Dockerfile | cut -d ' ' -f 2 | cut -d ':' -f 2)
echo "Using alpine version ${{ steps.vars.outputs.alpine_version }}"
-
name: Publish to Registry
uses: elgohr/[email protected]
with:
registry: ghcr.io
name: "ghcr.io/ironpeakservices/iron-alpine:${{ steps.version.outputs.version }}"
name: "ghcr.io/ironpeakservices/iron-alpine:${{ steps.vars.outputs.alpine_version }}"
username: hazcod
password: ${{ secrets.PACKAGE_TOKEN }}
-
name: Create GitHub release
uses: actions/[email protected]
with:
tag_name: ${{ steps.version.outputs.version }}
tag_name: ${{ steps.vars.outputs.alpine_version }}
release_name: iron-alpine
draft: false
prerelease: false
Expand Down

0 comments on commit 929d37f

Please sign in to comment.