Allow Docker build job to push image to registry
Some checks failed
Push Workflows / rustfmt (push) Successful in 3s
Push Workflows / tailwind-build (push) Successful in 5s
Push Workflows / docker-build (push) Failing after 25s
Push Workflows / clippy (push) Successful in 53s
Push Workflows / test (push) Successful in 1m1s
Push Workflows / docs (push) Successful in 1m0s
Push Workflows / build (push) Successful in 1m51s
Push Workflows / nix-build (push) Successful in 5m17s
Some checks failed
Push Workflows / rustfmt (push) Successful in 3s
Push Workflows / tailwind-build (push) Successful in 5s
Push Workflows / docker-build (push) Failing after 25s
Push Workflows / clippy (push) Successful in 53s
Push Workflows / test (push) Successful in 1m1s
Push Workflows / docs (push) Successful in 1m0s
Push Workflows / build (push) Successful in 1m51s
Push Workflows / nix-build (push) Successful in 5m17s
This commit is contained in:
@@ -87,6 +87,8 @@ jobs:
|
|||||||
|
|
||||||
docker-build:
|
docker-build:
|
||||||
runs-on: ubuntu-latest-docker
|
runs-on: ubuntu-latest-docker
|
||||||
|
permissions:
|
||||||
|
packages: write
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -94,10 +96,6 @@ jobs:
|
|||||||
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@v4
|
uses: docker/login-action@v4
|
||||||
with:
|
|
||||||
registry: ${{ env.registry }}
|
|
||||||
username: ${{ env.actions_user }}
|
|
||||||
password: ${{ secrets.CONTAINER_REGISTRY_TOKEN }}
|
|
||||||
- name: Get Image Name
|
- name: Get Image Name
|
||||||
id: get-image-name
|
id: get-image-name
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user