Skip to content

Commit

Permalink
bumping versions and adding deploy to ghcr (#79)
Browse files Browse the repository at this point in the history
* bumping versions and adding deploy to ghcr

* fixing clippy issue
  • Loading branch information
htunlogic authored Nov 18, 2023
1 parent 5ac5c9d commit 8244a41
Show file tree
Hide file tree
Showing 6 changed files with 928 additions and 10,558 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Log in to GitHub Container Registry
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
Expand Down Expand Up @@ -76,7 +83,11 @@ jobs:
with:
context: .
push: true
tags: ${{ secrets.DOCKER_USERNAME }}/${{ env.HANDLE }}:v${{ steps.tag.outputs.tag }}, ${{ secrets.DOCKER_USERNAME }}/${{ env.HANDLE }}:latest
tags: |
${{ secrets.DOCKER_USERNAME }}/${{ env.HANDLE }}:v${{ steps.tag.outputs.tag }}
${{ secrets.DOCKER_USERNAME }}/${{ env.HANDLE }}:latest
ghcr.io/${{ github.repository_owner }}/${{ env.HANDLE }}:v${{ steps.tag.outputs.tag }}
ghcr.io/${{ github.repository_owner }}/${{ env.HANDLE }}:latest
labels: ${{ steps.meta.outputs.labels }}

- name: Update repo description
Expand Down
Loading

0 comments on commit 8244a41

Please sign in to comment.