diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 189dafe..d753862 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -49,13 +49,11 @@ jobs: username: ${{ github.repository_owner }} password: ${{ secrets.CR_PAT }} - - name: Build + - name: Build and Push uses: docker/build-push-action@v2 with: context: ./${{ matrix.image }} file: ./${{ matrix.image }}/Dockerfile + platforms: linux/amd64,linux/arm64 + push: true tags: ghcr.io/${{ github.repository_owner }}/${{ matrix.image }}:latest - load: true - - - name: Push - run: docker push ghcr.io/${{ github.repository_owner }}/${{ matrix.image }}:latest