Merge pull request #149 from ironpeakservices/dependabot/docker/nginx… #104
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: push image | |
jobs: | |
dockerpush: | |
name: docker build | |
runs-on: ubuntu-latest | |
steps: | |
- | |
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 }}" | |
- | |
name: Publish to Registry | |
uses: elgohr/[email protected] | |
with: | |
registry: ghcr.io | |
name: "ghcr.io/ironpeakservices/iron-nginx:${{ 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-nginx | |
draft: false | |
prerelease: false | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |