Skip to content
This repository was archived by the owner on Nov 2, 2020. It is now read-only.

Commit 374df4b

Browse files
committed
Build agent2 first
1 parent 0011203 commit 374df4b

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

.github/workflows/github-build.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,27 @@ on:
66
- cron: '0 4 * * *'
77

88
jobs:
9+
buildx-agent2:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout repo
13+
uses: actions/checkout@master
14+
with:
15+
ref: ${{ github.ref }}
16+
17+
- name: Docker login
18+
uses: azure/docker-login@v1
19+
with:
20+
username: ${{ secrets.DOCKER_USERNAME }}
21+
password: ${{ secrets.DOCKER_PASSWORD }}
22+
23+
- name: Build agent2-alpine
24+
env:
25+
DOCKER_CLI_EXPERIMENTAL: enabled
26+
run: |
27+
curl -fsSL https://raw.githubusercontent.com/pschmitt/ci-setup-docker-buildx/master/setup.sh | bash
28+
NO_FALLBACK=1 ./build.sh agent2 -p
29+
930
buildx:
1031
strategy:
1132
fail-fast: false
@@ -68,24 +89,3 @@ jobs:
6889
run: |
6990
curl -fsSL https://raw.githubusercontent.com/pschmitt/ci-setup-docker-buildx/master/setup.sh | bash
7091
./build.sh ${{ matrix.target }} -p
71-
72-
buildx-agent2:
73-
runs-on: ubuntu-latest
74-
steps:
75-
- name: Checkout repo
76-
uses: actions/checkout@master
77-
with:
78-
ref: ${{ github.ref }}
79-
80-
- name: Docker login
81-
uses: azure/docker-login@v1
82-
with:
83-
username: ${{ secrets.DOCKER_USERNAME }}
84-
password: ${{ secrets.DOCKER_PASSWORD }}
85-
86-
- name: Build agent2-alpine
87-
env:
88-
DOCKER_CLI_EXPERIMENTAL: enabled
89-
run: |
90-
curl -fsSL https://raw.githubusercontent.com/pschmitt/ci-setup-docker-buildx/master/setup.sh | bash
91-
NO_FALLBACK=1 ./build.sh agent2 -p

0 commit comments

Comments
 (0)