mirror of
https://github.com/ThePhaseless/Byparr.git
synced 2025-03-15 01:40:21 +08:00
push before merging
This commit is contained in:
parent
64264f325e
commit
7ae50e99dc
13
.github/workflows/docker-publish.yml
vendored
13
.github/workflows/docker-publish.yml
vendored
@ -206,8 +206,11 @@ jobs:
|
|||||||
TAGS="${{ steps.meta.outputs.tags }}"
|
TAGS="${{ steps.meta.outputs.tags }}"
|
||||||
args=""
|
args=""
|
||||||
|
|
||||||
docker tag local-${{ github.sha }}-amd64 local-amd64
|
docker tag local-${{ github.sha }}-amd64 ${{github.ref_name}}-amd64
|
||||||
docker tag local-${{ github.sha }}-arm64 local-arm64
|
docker push ${{github.ref_name}}-amd64
|
||||||
|
|
||||||
|
docker tag local-${{ github.sha }}-arm64 ${{github.ref_name}}-arm64
|
||||||
|
docker push ${{github.ref_name}}-arm64
|
||||||
|
|
||||||
# Create tag arguments
|
# Create tag arguments
|
||||||
for tag in $TAGS; do
|
for tag in $TAGS; do
|
||||||
@ -220,9 +223,9 @@ jobs:
|
|||||||
|
|
||||||
echo $args
|
echo $args
|
||||||
|
|
||||||
docker buildx imagetools create $args \
|
docker buildx imagetools create --pull=false $args \
|
||||||
local-amd64 \
|
${{github.ref_name}}-amd64 \
|
||||||
local-arm64
|
${{github.ref_name}}-arm64
|
||||||
|
|
||||||
# Sign the manifest
|
# Sign the manifest
|
||||||
- name: Sign the manifests
|
- name: Sign the manifests
|
||||||
|
Loading…
x
Reference in New Issue
Block a user