mirror of
https://github.com/docker/login-action.git
synced 2025-06-25 04:21:08 +02:00
Add ci and pre-checkin workflow
This commit is contained in:
28
.github/workflows/ci.yml
vendored
Normal file
28
.github/workflows/ci.yml
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
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 }}
|
Reference in New Issue
Block a user