Skip to content

Commit fe3033e

Browse files
committed
FIX: Docker hub login fix for weekly build process based on nightly (confirmed working)
1 parent 8ef7039 commit fe3033e

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/stable.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,17 @@ jobs:
2020
if: github.repository == 'rust-serverless/lambda-rust'
2121
runs-on: ubuntu-latest
2222
steps:
23-
- uses: actions/checkout@v2
24-
- run: make publish-tag
23+
- name: Checkout the repo
24+
uses: actions/checkout@v2
25+
- name: Login to Docker hub
26+
uses: docker/login-action@v1
27+
with:
28+
username: ${{ secrets.DOCKER_USERNAME }}
29+
password: ${{ secrets.DOCKER_PASSWORD }}
30+
- name: Publish
31+
shell: bash
32+
run: |
33+
make publish-tag
2534
env:
2635
RUST_VERSION: stable
2736
create_issue:
@@ -32,4 +41,3 @@ jobs:
3241
- run: gh issue create --title "Stable publication failed" --body "Stable publication failed" --label "bug" -R $GITHUB_REPOSITORY
3342
env:
3443
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
35-

0 commit comments

Comments
 (0)