Push image to GHCR
Build and publish docker image snapshot / build-and-publish (push) Successful in 1m52s
Details
Build and publish docker image snapshot / build-and-publish (push) Successful in 1m52s
Details
This commit is contained in:
parent
4eaf38d4bb
commit
fd89caac7b
|
|
@ -9,14 +9,23 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
- name: Login to Gitea Container Registry
|
- name: Login to Gitea Container Registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: gitea.forstenlechner.dev
|
registry: gitea.forstenlechner.dev
|
||||||
username: stefan
|
username: stefan
|
||||||
password: ${{ secrets.ACTION_TOKEN }}
|
password: ${{ secrets.ACTION_TOKEN }}
|
||||||
|
- name: Login to GitHub Container Registry
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: ghcr.io
|
||||||
|
username: ${{ secrets.GHCR_USER }}
|
||||||
|
password: ${{ secrets.GHCR_TOKEN }}
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
|
|
@ -24,3 +33,4 @@ jobs:
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
gitea.forstenlechner.dev/stefan/simple-picture-gallery:latest
|
gitea.forstenlechner.dev/stefan/simple-picture-gallery:latest
|
||||||
|
ghcr.io/t-h-e/simple-picture-gallery:latest
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue