test login with cmd
This commit is contained in:
parent
c26c6d9a05
commit
2233e18c28
15
.github/workflows/basket-api.yml
vendored
15
.github/workflows/basket-api.yml
vendored
@ -16,15 +16,14 @@ env:
|
|||||||
image: basket.api
|
image: basket.api
|
||||||
branch: $(echo ${GITHUB_REF#refs/heads/})
|
branch: $(echo ${GITHUB_REF#refs/heads/})
|
||||||
jobs:
|
jobs:
|
||||||
login:
|
Login:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-16.04
|
||||||
steps:
|
steps:
|
||||||
- name: Login to Container Registry
|
- name: Login to GitHub Docker Registry
|
||||||
uses: docker/login-action@v1
|
run: docker login ${{ env.registryEndpoint }} --username $DOCKER_USERNAME --password $DOCKER_PASSWORD
|
||||||
with:
|
env:
|
||||||
registry: https://hub.docker.com/repository/docker/borjasanes/eshoponcontainers
|
DOCKER_USERNAME: ${{ secrets.USERNAME }}
|
||||||
username: ${{ secrets.USERNAME }}
|
DOCKER_PASSWORD: ${{ secrets.PASSWORD }}
|
||||||
password: ${{ secrets.PASSWORD }}
|
|
||||||
BuildContainersForPR_Linux:
|
BuildContainersForPR_Linux:
|
||||||
runs-on: ubuntu-16.04
|
runs-on: ubuntu-16.04
|
||||||
if: ${{ github.event_name == 'pull_request' }}
|
if: ${{ github.event_name == 'pull_request' }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user