Merge pull request #123 from ironpeakservices/dependabot/docker/alpin… #58
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- master | |
name: Publish Image | |
jobs: | |
dockerpush: | |
name: docker build | |
runs-on: ubuntu-latest | |
steps: | |
- | |
uses: actions/[email protected] | |
- | |
uses: go-semantic-release/[email protected] | |
id: version | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- | |
run: echo "Pushing version ${{ steps.version.outputs.version }}" | |
- | |
name: Publish to Registry | |
uses: elgohr/Publish-Docker-Github-Action@v5 | |
with: | |
registry: ghcr.io | |
name: "ghcr.io/ironpeakservices/iron-scratch:${{ steps.version.outputs.version }}" | |
username: hazcod | |
password: ${{ secrets.PACKAGE_TOKEN }} | |
- | |
name: Create GitHub release | |
uses: actions/[email protected] | |
with: | |
tag_name: ${{ steps.version.outputs.version }} | |
release_name: iron-scratch | |
draft: false | |
prerelease: false | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |