Skip to content

Commit 7df0fcf

Browse files
committed
build docker images after tests workflow completed, change tag name, remove arm64
1 parent 957de9a commit 7df0fcf

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

.github/workflows/preview-image.yml

+10-11
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
name: Preview Image
22
on:
3-
push:
4-
tags:
5-
- '*-dev'
3+
workflow_run:
4+
workflows:
5+
- Tests
6+
types:
7+
- completed
8+
branches:
9+
- master
610
workflow_dispatch:
711

812
env:
@@ -45,11 +49,6 @@ jobs:
4549
node-version: ${{ env.NODE_VERSION }}
4650
cache: 'yarn'
4751

48-
- name: Set up QEMU
49-
uses: docker/setup-qemu-action@v3
50-
with:
51-
platforms: arm64
52-
5352
- name: Set up Docker Buildx
5453
uses: docker/setup-buildx-action@v3
5554

@@ -78,14 +77,14 @@ jobs:
7877
with:
7978
push: true
8079
tags: |
81-
redash/redash:preview
82-
redash/preview:${{ steps.version.outputs.VERSION_TAG }}
80+
myonlylonely/redash:preview
81+
myonlylonely/redash:${{ steps.version.outputs.VERSION_TAG }}
8382
context: .
8483
build-args: |
8584
test_all_deps=true
8685
cache-from: type=gha,scope=multi-platform
8786
cache-to: type=gha,mode=max,scope=multi-platform
88-
platforms: linux/amd64,linux/arm64
87+
platforms: linux/amd64
8988
env:
9089
DOCKER_CONTENT_TRUST: true
9190

0 commit comments

Comments
 (0)