#1110 try fix hanging Docker build GH Workflow - downgrade GH build env

This commit is contained in:
Just van den Broecke
2023-01-20 14:30:24 +01:00
parent 79688e9917
commit c436baf739
2 changed files with 9 additions and 12 deletions
+5 -5
View File
@@ -18,7 +18,7 @@ env:
jobs:
on-success:
name: Build, Test and Push Docker Image to DockerHub
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
permissions:
packages: write
@@ -75,12 +75,12 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
# cache-from: type=gha
# cache-to: type=gha,mode=max
cache-from: type=gha
cache-to: type=gha,mode=max
platforms: linux/arm64, linux/amd64
on-failure:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
steps:
- name: Print Test Fail