We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 585c129 commit 29f6ecaCopy full SHA for 29f6eca
1 file changed
.github/workflows/basket-api.yml
@@ -16,11 +16,15 @@ env:
16
image: basket.api
17
branch: $(echo ${GITHUB_REF#refs/heads/})
18
jobs:
19
- Login:
20
- runs-on: ubuntu-16.04
+ login:
+ runs-on: ubuntu-latest
21
steps:
22
- - name: Login to docker registry
23
- run: echo $PASSWORD | docker login -u $USERNAME --password-stdin
+ - name: Login to Container Registry
+ uses: docker/login-action@v1
24
+ with:
25
+ registry: ${{ env.registryEndpoint }}
26
+ username: ${{ secrets.USERNAME }}
27
+ password: ${{ secrets.PASSWORD }}
28
BuildContainersForPR_Linux:
29
runs-on: ubuntu-16.04
30
if: ${{ github.event_name == 'pull_request' }}
0 commit comments