Fix workflow

This commit is contained in:
Jordan Webb 2021-02-02 21:00:16 -06:00
parent 465871bdd3
commit 459c5f67b6
No known key found for this signature in database
GPG Key ID: C341950C47B6CE14

View File

@ -18,6 +18,7 @@ name: Publish container
env:
CONTAINER_NAME: jordemort/pleroma:${{ github.event.inputs.container_tag || 'latest' }}
CACHE_NAME: jordemort/pleroma:cache-unzip
PLATFORMS: linux/amd64,linux/arm64,linux/arm/v7
DOCKER_CLI_EXPERIMENTAL: enabled
jobs:
@ -44,14 +45,14 @@ jobs:
- name: Build and push container
run: |
docker buildx build --push --pull \
--platform "linux/amd64,linux/arm64,linux/arm/v7" \
--platform "$PLATFORMS" \
--cache-from "$CACHE_NAME" \
--tag "$CACHENAME" --target unzip .
--tag "$CACHE_NAME" --target unzip .
- name: Build and push container
run: |
docker buildx build --push --pull \
--platform "linux/amd64,linux/arm64,linux/arm/v7" \
--platform "$PLATFORMS" \
--cache-from "$CACHE_NAME" \
--cache-from "$CONTAINER_NAME" \
--tag "$CONTAINER_NAME" .