Skip to content

Commit 2f79e44

Browse files
committed
build-push-action v3 has load instead
Signed-off-by: clux <sszynrae@gmail.com>
1 parent 9f0dade commit 2f79e44

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/stable.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,6 @@ jobs:
1717
- uses: 'actions/checkout@v2'
1818
- uses: extractions/setup-just@v1
1919

20-
- name: Login to DockerHub
21-
if: github.event_name != 'pull_request'
22-
uses: docker/login-action@v1
23-
with:
24-
username: clux
25-
password: ${{ secrets.DOCKERHUB_TOKEN }}
26-
2720
- name: Check if we need a new stable
2821
id: stablecheck
2922
shell: bash
@@ -44,7 +37,7 @@ jobs:
4437
uses: docker/build-push-action@v3
4538
with:
4639
context: .
47-
push: false
40+
load: true
4841
build-args: |
4942
CHANNEL=stable
5043
tags: clux/muslrust:temp
@@ -74,6 +67,13 @@ jobs:
7467
if: ${{ steps.stablecheck.outputs.BUILD }}
7568
run: just test
7669

70+
- name: Login to DockerHub
71+
if: github.event_name != 'pull_request'
72+
uses: docker/login-action@v1
73+
with:
74+
username: clux
75+
password: ${{ secrets.DOCKERHUB_TOKEN }}
76+
7777
- name: Push image under computed tags
7878
uses: docker/build-push-action@v3
7979
if: ${{ steps.stablecheck.outputs.BUILD }}

0 commit comments

Comments
 (0)