Skip to content

Commit 98969a7

Browse files
committed
Revert "Try to split into multiple jobs"
This reverts commit 8bcc083.
1 parent 8bcc083 commit 98969a7

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@ on:
1414

1515
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1616
jobs:
17-
17+
# This workflow contains a single job called "build"
1818
build:
19-
19+
# The type of runner that the job will run on
2020
runs-on: ubuntu-latest
2121

22+
# Steps represent a sequence of tasks that will be executed as part of the job
2223
steps:
2324
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2425
- uses: actions/checkout@v4
@@ -54,10 +55,7 @@ jobs:
5455
cache-to: type=gha,mode=max
5556
tags: ${{ steps.meta.outputs.tags }}
5657
labels: ${{ steps.meta.outputs.labels }}
57-
test:
58-
runs-on: ubuntu-latest
59-
needs: build
60-
steps:
58+
6159
# Due to bug https://github.com/docker/buildx/issues/59, need to build for single platform, load, then run tests.
6260
- name: Build a test image single platform and load it
6361
uses: docker/build-push-action@v5
@@ -68,13 +66,11 @@ jobs:
6866
cache-from: type=gha
6967
cache-to: type=gha,mode=max
7068
tags: "mendhak/http-https-echo:testing"
69+
labels: ${{ steps.meta.outputs.labels }}
7170

7271
- name: Run tests using the test image
7372
run: ./tests.sh
74-
scan:
75-
runs-on: ubuntu-latest
76-
needs: build
77-
steps:
73+
7874
- name: Scan the image
7975
id: scan
8076
uses: anchore/scan-action@v3

0 commit comments

Comments
 (0)