Update .forgejo/workflows/docker-build.yml

This commit is contained in:
2025-06-01 21:30:19 -05:00
parent e5a7751212
commit 2e4a15f47e
+10 -11
View File
@@ -16,24 +16,23 @@ env:
CONTAINER_NAME: radius
jobs:
build-and-push-arch:
docker:
runs-on: JackOfAllTrades-x86
environment: deploy
steps:
- name: Prepare environment variables
run: |
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
echo REGISTRY=${{ env.FORGEJO_HOST }} >> $GITHUB_ENV
- name: Checkout the repo
uses: actions/checkout@v4
- name: Login to the registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
registry: ${{ env.FORGEJO_HOST }}
username: ${{ github.actor }}
password: ${{ secrets.PACKAGE_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
@@ -44,4 +43,4 @@ jobs:
push: true
provenance: false
platforms: linux/amd64, linux/arm64
tags: ${{ env.REGISTRY }}/${{ github.actor }}/${{ env.CONTAINER_NAME }}:latest
tags: ${{ env.FORGEJO_HOST }}/${{ github.actor }}/${{ env.CONTAINER_NAME }}:latest