Skip to content

Commit 8ef7039

Browse files
authored
Merge pull request #14 from jerusdp/fix_nightly
Fix nightly
2 parents 7f49805 + ee63ae3 commit 8ef7039

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/nightly.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,17 @@ jobs:
2222
if: github.repository == 'rust-serverless/lambda-rust'
2323
runs-on: ubuntu-latest
2424
steps:
25-
- uses: actions/checkout@v2
26-
- run: make publish
25+
- name: Checkout the repo
26+
uses: actions/checkout@v2
27+
- name: Login to Docker Hub
28+
uses: docker/login-action@v1
29+
with:
30+
username: ${{ secrets.DOCKER_USERNAME }}
31+
password: ${{ secrets.DOCKER_PASSWORD }}
32+
- name: Publish
33+
shell: bash
34+
run: |
35+
make publish-tag
2736
env:
2837
RUST_VERSION: nightly
2938
TAG: nightly
@@ -35,4 +44,3 @@ jobs:
3544
- run: gh issue create --title "Nightly publication failed" --body "Nightly publication failed" --label "bug" -R $GITHUB_REPOSITORY
3645
env:
3746
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
38-

0 commit comments

Comments
 (0)