Skip to content

Commit 05693b8

Browse files
committed
fix workflows
1 parent 71b2613 commit 05693b8

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

.github/workflows/ci-build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- "!release-2.8"
88
pull_request:
99
branches:
10-
- "master"
10+
- "main"
1111
- "release-*"
1212

1313
concurrency:

.github/workflows/release.yaml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
tags:
66
- v*
77
branches:
8-
- master
8+
- main
99
- release-*
1010
- dev-*
1111

@@ -27,7 +27,7 @@ jobs:
2727
runs-on: ubuntu-24.04
2828
strategy:
2929
matrix:
30-
platform: [linux/amd64]
30+
platform: [linux/amd64, linux/arm64]
3131
target: [workflow-controller, argocli, argoexec]
3232
steps:
3333
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
@@ -84,7 +84,6 @@ jobs:
8484
--platform="${PLATFORM}" \
8585
--target $TARGET \
8686
--provenance=false \
87-
--tag $image_name \
8887
--tag quay.io/$image_name .
8988
9089
build-windows:
@@ -108,7 +107,7 @@ jobs:
108107
docker_org=$DOCKERIO_ORG
109108
110109
tag=$(basename $GITHUB_REF)
111-
if [ $tag = "master" ]; then
110+
if [ $tag = "main" ]; then
112111
tag="latest"
113112
fi
114113
@@ -149,7 +148,7 @@ jobs:
149148
docker_org=$DOCKERIO_ORG
150149
151150
tag=$(basename $GITHUB_REF)
152-
if [ $tag = "master" ]; then
151+
if [ $tag = "main" ]; then
153152
tag="latest"
154153
fi
155154
@@ -196,7 +195,7 @@ jobs:
196195
TARGET: ${{ matrix.target }}
197196
run: |
198197
tag=$(basename $GITHUB_REF)
199-
if [ $tag = "master" ]; then
198+
if [ $tag = "main" ]; then
200199
tag="latest"
201200
fi
202201
@@ -222,7 +221,7 @@ jobs:
222221
run: |
223222
docker_org=$DOCKERIO_ORG
224223
tag=$(basename $GITHUB_REF)
225-
if [ $tag = "master" ]; then
224+
if [ $tag = "main" ]; then
226225
tag="latest"
227226
fi
228227

0 commit comments

Comments
 (0)