We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cce51cd commit 6de68a5Copy full SHA for 6de68a5
.github/workflows/pr-action.yml
@@ -21,6 +21,8 @@ jobs:
21
steps:
22
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
23
- uses: actions/checkout@v2
24
+ with:
25
+ ref: ${{ github.event.pull_request.head.sha }}
26
27
# Runs a single command using the runners shell
28
- name: Run a one-line script
@@ -47,7 +49,7 @@ jobs:
47
49
48
50
# Docker login
51
- name: docker login
- run: docker login -u ${{ secrets.DOCKERHUB_USERNAME }} -p ${{ secrets.DOCKERHUB_PASSWORD }}
52
+ run: echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
53
54
55
# Get docker tag
0 commit comments