Skip to content

Commit

Permalink
chore: add login and deploy to ghcr
Browse files Browse the repository at this point in the history
  • Loading branch information
NickChecan committed Oct 12, 2024
1 parent 945dae1 commit 7feeafc
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,14 @@ jobs:
run: |
devcontainer build \
--workspace-folder ./dist/${{ matrix.variant.IMAGE }}/${{ matrix.variant.VERSION }} \
--image-name ghcr.io/the-nefarious-developer/${{ matrix.variant.IMAGE }}:${{ matrix.variant.VERSION }}
--image-name ghcr.io/the-nefarious-developer/${{ matrix.variant.IMAGE }}:${{ matrix.variant.VERSION }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.NEFARIOUS_TOKEN }}

- name: Push image to GitHub Container Registry
run: docker push ghcr.io/the-nefarious-developer/${{ matrix.variant.IMAGE }}:${{ matrix.variant.VERSION }}

0 comments on commit 7feeafc

Please sign in to comment.