Skip to content

Commit

Permalink
Merge pull request #18 from ironpeakservices/fix/ci
Browse files Browse the repository at this point in the history
Feature: GitHub Container Registry
  • Loading branch information
hazcod authored Oct 15, 2020
2 parents 23e1375 + 240b28e commit 0113da0
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 46 deletions.
38 changes: 0 additions & 38 deletions .github/workflows/publish.yaml

This file was deleted.

38 changes: 38 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
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/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-debian:${{ 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-debian
draft: false
prerelease: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8 changes: 0 additions & 8 deletions .whitesource

This file was deleted.

0 comments on commit 0113da0

Please sign in to comment.