Browse Source

retry docker push step

pull/2668/head
Bernd Storath 2 days ago
parent
commit
30498520d2
  1. 10
      .github/workflows/deploy-development.yml
  2. 10
      .github/workflows/deploy-edge.yml
  3. 10
      .github/workflows/deploy.yml

10
.github/workflows/deploy-development.yml

@ -123,8 +123,14 @@ jobs:
- name: Create manifest list and push
working-directory: ${{ runner.temp }}/digests
run: |
docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
$(printf 'ghcr.io/wg-easy/wg-easy@sha256:%s ' *)
n=3
for i in $(seq 1 $n); do
docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
$(printf 'ghcr.io/wg-easy/wg-easy@sha256:%s ' *) && break
[ "$i" = "$n" ] && exit 1
sleep 10
done
- name: Inspect image
run: |

10
.github/workflows/deploy-edge.yml

@ -132,8 +132,14 @@ jobs:
- name: Create manifest list and push
working-directory: ${{ runner.temp }}/digests
run: |
docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
$(printf 'ghcr.io/wg-easy/wg-easy@sha256:%s ' *)
n=3
for i in $(seq 1 $n); do
docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
$(printf 'ghcr.io/wg-easy/wg-easy@sha256:%s ' *) && break
[ "$i" = "$n" ] && exit 1
sleep 10
done
- name: Inspect image
run: |

10
.github/workflows/deploy.yml

@ -135,8 +135,14 @@ jobs:
- name: Create manifest list and push
working-directory: ${{ runner.temp }}/digests
run: |
docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
$(printf 'ghcr.io/wg-easy/wg-easy@sha256:%s ' *)
n=3
for i in $(seq 1 $n); do
docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
$(printf 'ghcr.io/wg-easy/wg-easy@sha256:%s ' *) && break
[ "$i" = "$n" ] && exit 1
sleep 10
done
- name: Inspect image
run: |

Loading…
Cancel
Save