Skip to content

Commit

Permalink
change
Browse files Browse the repository at this point in the history
Signed-off-by: yiraeChristineKim <[email protected]>
  • Loading branch information
yiraeChristineKim committed Apr 4, 2024
1 parent 3389aa1 commit b0ff581
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build-push-stolostron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
tags:
- 'v*' # tags matching v*, i.e. v0.0.1, v1.0.0-rc.0

pull_request:
branches:
- main
Expand All @@ -26,16 +26,18 @@ jobs:
with:
go-version-file: go.mod

- name: build
run: |
REPOSITORY=${{env.REPOSITORY}} VERSION=${{env.VERSION_TAG}} \
PLATFORM="linux/amd64,linux/arm64,linux/arm/v7" OUTPUT_TYPE=type=registry GENERATE_ATTESTATIONS=true make docker-buildx-release
- uses: docker/login-action@v2
with:
registry: quay.io
username: ${{ secrets.QUAY_USER }}
password: ${{ secrets.QUAY_PASSWORD }}

- name: build
run: |
REPOSITORY=${{env.REPOSITORY}} VERSION=${{env.VERSION_TAG}} \
PLATFORM="linux/amd64,linux/arm64,linux/arm/v7" OUTPUT_TYPE=type=registry GENERATE_ATTESTATIONS=true make docker-buildx-release


- name: push
run: |
Expand Down

0 comments on commit b0ff581

Please sign in to comment.