Skip to content

Commit 8bf43db

Browse files
authored
See if setting push explicitly fixes the pushes to dockerhub (#81)
1 parent 7da3a00 commit 8bf43db

File tree

3 files changed

+2
-18
lines changed

3 files changed

+2
-18
lines changed

.github/workflows/pull-request.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,6 @@ jobs:
5252
}
5353
}
5454
55-
- name: Set the commit_sha and branch
56-
shell: bash
57-
run: |
58-
echo "commit_sha=$(git rev-parse --short "$GITHUB_SHA")" >> "$GITHUB_ENV"
59-
echo "branch=$(echo ${GITHUB_REF#refs/heads/})" >> "$GITHUB_ENV"
60-
6155
- name: Set up QEMU
6256
uses: docker/setup-qemu-action@v3
6357

@@ -75,4 +69,5 @@ jobs:
7569
with:
7670
platforms: linux/amd64,linux/arm64
7771
load: true
72+
push: true
7873
tags: nytimes/httptest:dev

.github/workflows/push.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,6 @@ jobs:
5252
}
5353
}
5454
55-
- name: Set the commit_sha and branch
56-
shell: bash
57-
run: |
58-
echo "commit_sha=$(git rev-parse --short "$GITHUB_SHA")" >> "$GITHUB_ENV"
59-
echo "branch=$(echo ${GITHUB_REF#refs/heads/})" >> "$GITHUB_ENV"
60-
6155
- name: Set up QEMU
6256
uses: docker/setup-qemu-action@v3
6357

.github/workflows/tagged-release.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,6 @@ jobs:
2020
}
2121
}
2222
23-
- name: Set the commit_sha and branch
24-
shell: bash
25-
run: |
26-
echo "commit_sha=$(git rev-parse --short "$GITHUB_SHA")" >> "$GITHUB_ENV"
27-
echo "branch=$(echo ${GITHUB_REF#refs/heads/})" >> "$GITHUB_ENV"
28-
2923
- name: Set up QEMU
3024
uses: docker/setup-qemu-action@v3
3125

@@ -49,5 +43,6 @@ jobs:
4943
with:
5044
platforms: linux/amd64,linux/arm64
5145
load: true
46+
push: true
5247
tags: ${{ steps.meta.outputs.tags }}
5348
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)