mirror of
https://github.com/docker/login-action.git
synced 2024-11-15 21:43:51 +08:00
29 lines
533 B
YAML
29 lines
533 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: ./login/
|
||
|
with:
|
||
|
username: ${{ secrets.DOCKER_USERNAME_TEST }}
|
||
|
password: ${{ secrets.DOCKER_PASSWORD_TEST }}
|
||
|
logout: ${{ matrix.logout }}
|