Skip to content

Commit

Permalink
Add GHCR push
Browse files Browse the repository at this point in the history
  • Loading branch information
jonerickson committed Aug 14, 2023
1 parent 4e9c190 commit a878d35
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,20 @@ jobs:
- name: Update Permissions
run: chmod +x builds/perscom

- name: Authenticate with Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and Push Docker Image
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: deschutesdesigngroupllc/perscom:${{ steps.tag_version.outputs.new_version }}

- name: Create Github Release
uses: ncipollo/release-action@v1
if: github.ref == 'refs/heads/master'
Expand Down

0 comments on commit a878d35

Please sign in to comment.