Update platforms upload

This commit is contained in:
Attilio Greco 2023-01-18 11:10:44 +01:00
parent 55ff1443f8
commit 2bf3d1e220
No known key found for this signature in database
GPG Key ID: FC1D47921C8F19CC

View File

@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Login to ghcr - name: Login to ghcr
uses: docker/login-action@v2 uses: docker/login-action@v2
@ -44,7 +44,7 @@ jobs:
with: with:
string: ${{ github.repository_owner }} string: ${{ github.repository_owner }}
- name: Build and push - name: Build and push base
uses: docker/build-push-action@v3 uses: docker/build-push-action@v3
with: with:
build-args: | build-args: |
@ -52,6 +52,7 @@ jobs:
ALPINE_VERSION=${{ matrix.alpine }} ALPINE_VERSION=${{ matrix.alpine }}
context: . context: .
file: ./Docker/Dockerfile.base file: ./Docker/Dockerfile.base
platforms: linux/amd64,linux/arm64
push: true push: true
tags: ghcr.io/${{ steps.string.outputs.lowercase }}/web-base/python:${{ matrix.python }}-alpine${{ matrix.alpine }} tags: ghcr.io/${{ steps.string.outputs.lowercase }}/web-base/python:${{ matrix.python }}-alpine${{ matrix.alpine }}