Skip to content

Commit a9be983

Browse files
authored
Merge pull request softprops#17 from jerusdp/issue_15_stable_fix
Docker hub login fix for weekly build process based on nightly
2 parents 296cb27 + fe3033e commit a9be983

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/stable.yml

+11-3
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)