Fix docker image workflow
All checks were successful
Pull request workflow / Build and Test (pull_request) Successful in 4m50s

This commit is contained in:
William Brawner 2024-07-06 21:10:13 -06:00
parent d391c60f91
commit 32a7feef2d
Signed by: wbrawner
GPG key ID: 8FF12381C6C90D35

View file

@ -25,18 +25,20 @@ jobs:
type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}} type=semver,pattern={{major}}
type=sha type=sha
- name: Set up QEMU - name: Set up Docker context
uses: docker/setup-qemu-action@v2 run: docker context create builders
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2 uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry with:
uses: docker/login-action@v2 endpoint: builders
- name: Login to Container Registry
uses: docker/login-action@v3
with: with:
registry: git.wbrawner.com registry: git.wbrawner.com
username: ${{ github.actor }} username: ${{ github.actor }}
password: ${{ secrets.FORGEJO_TOKEN }} password: ${{ secrets.FORGEJO_TOKEN }}
- name: Build and push - name: Build and push
uses: docker/build-push-action@v3 uses: docker/build-push-action@v6
with: with:
context: . context: .
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64