3
0
Fork 0
mirror of https://gitea.com/docker/login-action.git synced 2024-11-26 11:29:36 +01:00
docker-login/.github/workflows/ci.yml
2020-08-15 14:56:24 +02:00

33 lines
613 B
YAML

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