Fix workflow
This commit is contained in:
parent
465871bdd3
commit
459c5f67b6
7
.github/workflows/publish.yml
vendored
7
.github/workflows/publish.yml
vendored
@ -18,6 +18,7 @@ name: Publish container
|
|||||||
env:
|
env:
|
||||||
CONTAINER_NAME: jordemort/pleroma:${{ github.event.inputs.container_tag || 'latest' }}
|
CONTAINER_NAME: jordemort/pleroma:${{ github.event.inputs.container_tag || 'latest' }}
|
||||||
CACHE_NAME: jordemort/pleroma:cache-unzip
|
CACHE_NAME: jordemort/pleroma:cache-unzip
|
||||||
|
PLATFORMS: linux/amd64,linux/arm64,linux/arm/v7
|
||||||
DOCKER_CLI_EXPERIMENTAL: enabled
|
DOCKER_CLI_EXPERIMENTAL: enabled
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@ -44,14 +45,14 @@ jobs:
|
|||||||
- name: Build and push container
|
- name: Build and push container
|
||||||
run: |
|
run: |
|
||||||
docker buildx build --push --pull \
|
docker buildx build --push --pull \
|
||||||
--platform "linux/amd64,linux/arm64,linux/arm/v7" \
|
--platform "$PLATFORMS" \
|
||||||
--cache-from "$CACHE_NAME" \
|
--cache-from "$CACHE_NAME" \
|
||||||
--tag "$CACHENAME" --target unzip .
|
--tag "$CACHE_NAME" --target unzip .
|
||||||
|
|
||||||
- name: Build and push container
|
- name: Build and push container
|
||||||
run: |
|
run: |
|
||||||
docker buildx build --push --pull \
|
docker buildx build --push --pull \
|
||||||
--platform "linux/amd64,linux/arm64,linux/arm/v7" \
|
--platform "$PLATFORMS" \
|
||||||
--cache-from "$CACHE_NAME" \
|
--cache-from "$CACHE_NAME" \
|
||||||
--cache-from "$CONTAINER_NAME" \
|
--cache-from "$CONTAINER_NAME" \
|
||||||
--tag "$CONTAINER_NAME" .
|
--tag "$CONTAINER_NAME" .
|
||||||
|
Loading…
Reference in New Issue
Block a user