Try retry-action

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2023-10-23 23:16:08 +02:00
parent 8664165ebc
commit a7ba71447c
+16 -15
View File
@@ -87,22 +87,23 @@ jobs:
run: ls -l
-
name: Build and test FTL in ftl-build container (QEMU)
uses: docker/build-push-action@v5.0.0
uses: Wandalen/wretry.action@v1.3.0
with:
platforms: ${{ matrix.platform }}
# Always load latest container image
pull: true
# Do not push anything
push: false
context: .
target: result
file: .github/Dockerfile
outputs: |
type=tar,dest=build.tar
build-args: |
"CI_ARCH=${{ matrix.platform }}"
"GIT_BRANCH=${{ needs.smoke-tests.outputs.GIT_BRANCH }}"
"GIT_TAG=${{ needs.smoke-tests.outputs.GIT_TAG }}"
attempt_limit: 3
action: docker/build-push-action@v5.0.0
with: |
platforms: ${{ matrix.platform }}
pull: true
push: false
context: .
target: result
file: .github/Dockerfile
outputs: |
type=tar,dest=build.tar
build-args: |
"CI_ARCH=${{ matrix.platform }}"
"GIT_BRANCH=${{ needs.smoke-tests.outputs.GIT_BRANCH }}"
"GIT_TAG=${{ needs.smoke-tests.outputs.GIT_TAG }}"
-
name: List files in current directory
run: ls -l