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

34 lines
613 B
YAML
Raw Normal View History

2020-08-15 14:50:47 +02: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 14:51:29 +02:00
steps:
-
name: Checkout
uses: actions/checkout@v2.3.1
-
name: Login
2020-08-15 14:52:04 +02:00
uses: ./
2020-08-15 14:51:29 +02:00
with:
username: ${{ secrets.DOCKER_USERNAME_TEST }}
password: ${{ secrets.DOCKER_PASSWORD_TEST }}
logout: ${{ matrix.logout }}
2020-08-15 14:56:24 +02:00
-
name: Clear
if: always()
run: |
rm -f ${HOME}/.docker/config.json