Update .forgejo/workflows/docker-build.yml

This commit is contained in:
2025-06-01 23:00:14 -05:00
parent 264ff28cb3
commit f866bc83b6
+14 -8
View File
@@ -19,22 +19,28 @@ jobs:
docker:
runs-on: JackOfAllTrades-x86
steps:
-
name: Login to Docker Hub
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ${{ env.FORGEJO_HOST }}
username: ${{ github.actor }}
password: ${{ secrets.PACKAGE_TOKEN }}
-
name: Set up QEMU
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
options: >-
--privileged
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Build and push
options: >-
--privileged
- name: Build and push
uses: docker/build-push-action@v6
options: >-
--privileged
with:
push: true
tags: ${{ env.FORGEJO_HOST }}/${{ github.actor }}/${{ env.CONTAINER_NAME }}:latest