docker-login/.github/workflows/ci.yml

34 lines
613 B
YAML
Raw Normal View History

2020-08-15 12:50:47 +00:00
name: ci
on:
push:
branches:
- master
- releases/v*
jobs:
main:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
logout:
- true
- false
2020-08-15 12:51:29 +00:00
steps:
-
name: Checkout
uses: actions/checkout@v2.3.1
-
name: Login
2020-08-15 12:52:04 +00:00
uses: ./
2020-08-15 12:51:29 +00:00
with:
username: ${{ secrets.DOCKER_USERNAME_TEST }}
password: ${{ secrets.DOCKER_PASSWORD_TEST }}
logout: ${{ matrix.logout }}
2020-08-15 12:56:24 +00:00
-
name: Clear
if: always()
run: |
rm -f ${HOME}/.docker/config.json