push to GHCR
Push docker image to GHCR
This commit is contained in:
parent
4dccfc1771
commit
cd9c75db37
12
.github/workflows/build-release.yaml
vendored
12
.github/workflows/build-release.yaml
vendored
@ -34,6 +34,12 @@ jobs:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ env.REGISTRY_USERNAME }}
|
||||
password: ${{ env.REGISTRY_PASSWORD }}
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Prepare tags for Docker meta
|
||||
id: tags
|
||||
env:
|
||||
@ -58,7 +64,9 @@ jobs:
|
||||
id: meta
|
||||
uses: docker/metadata-action@v5
|
||||
with:
|
||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||
images: |
|
||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||
ghcr.io/ellite/wallos
|
||||
tags: ${{ steps.tags.outputs.tags }}
|
||||
# necessary for multi-platform images
|
||||
- name: Set up QEMU
|
||||
@ -82,4 +90,4 @@ jobs:
|
||||
with:
|
||||
args: "A new release has been created: ${{ steps.meta.outputs.tags }}"
|
||||
env:
|
||||
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
||||
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user