mirror of
https://github.com/docker/login-action.git
synced 2024-11-24 08:05:06 +08:00
Skip integration tests for ECR, DockerHub, GitLab for now
This commit is contained in:
parent
8c1b8dc260
commit
e36a9c364b
166
.github/workflows/ci.yml
vendored
166
.github/workflows/ci.yml
vendored
@ -7,34 +7,34 @@ on:
|
|||||||
- releases/v*
|
- releases/v*
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
dockerhub:
|
# dockerhub:
|
||||||
runs-on: ${{ matrix.os }}
|
# runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
# strategy:
|
||||||
fail-fast: false
|
# fail-fast: false
|
||||||
matrix:
|
# matrix:
|
||||||
os:
|
# os:
|
||||||
- ubuntu-20.04
|
# - ubuntu-20.04
|
||||||
- ubuntu-18.04
|
# - ubuntu-18.04
|
||||||
- ubuntu-16.04
|
# - ubuntu-16.04
|
||||||
logout:
|
# logout:
|
||||||
- true
|
# - true
|
||||||
- false
|
# - false
|
||||||
steps:
|
# steps:
|
||||||
-
|
# -
|
||||||
name: Checkout
|
# name: Checkout
|
||||||
uses: actions/checkout@v2.3.2
|
# uses: actions/checkout@v2.3.2
|
||||||
-
|
# -
|
||||||
name: Login to DockerHub
|
# name: Login to DockerHub
|
||||||
uses: ./
|
# uses: ./
|
||||||
with:
|
# with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME_TEST }}
|
# username: ${{ secrets.DOCKERHUB_USERNAME_TEST }}
|
||||||
password: ${{ secrets.DOCKERHUB_PASSWORD_TEST }}
|
# password: ${{ secrets.DOCKERHUB_PASSWORD_TEST }}
|
||||||
logout: ${{ matrix.logout }}
|
# logout: ${{ matrix.logout }}
|
||||||
-
|
# -
|
||||||
name: Clear
|
# name: Clear
|
||||||
if: always()
|
# if: always()
|
||||||
run: |
|
# run: |
|
||||||
rm -f ${HOME}/.docker/config.json
|
# rm -f ${HOME}/.docker/config.json
|
||||||
|
|
||||||
gpr:
|
gpr:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -62,58 +62,58 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
rm -f ${HOME}/.docker/config.json
|
rm -f ${HOME}/.docker/config.json
|
||||||
|
|
||||||
gitlab:
|
# gitlab:
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
strategy:
|
# strategy:
|
||||||
fail-fast: false
|
# fail-fast: false
|
||||||
matrix:
|
# matrix:
|
||||||
logout:
|
# logout:
|
||||||
- true
|
# - true
|
||||||
- false
|
# - false
|
||||||
steps:
|
# steps:
|
||||||
-
|
# -
|
||||||
name: Checkout
|
# name: Checkout
|
||||||
uses: actions/checkout@v2.3.2
|
# uses: actions/checkout@v2.3.2
|
||||||
-
|
# -
|
||||||
name: Login to GitLab
|
# name: Login to GitLab
|
||||||
uses: ./
|
# uses: ./
|
||||||
with:
|
# with:
|
||||||
registry: registry.gitlab.com
|
# registry: registry.gitlab.com
|
||||||
username: ${{ secrets.GITLAB_USERNAME_TEST }}
|
# username: ${{ secrets.GITLAB_USERNAME_TEST }}
|
||||||
password: ${{ secrets.GITLAB_PASSWORD_TEST }}
|
# password: ${{ secrets.GITLAB_PASSWORD_TEST }}
|
||||||
logout: ${{ matrix.logout }}
|
# logout: ${{ matrix.logout }}
|
||||||
-
|
# -
|
||||||
name: Clear
|
# name: Clear
|
||||||
if: always()
|
# if: always()
|
||||||
run: |
|
# run: |
|
||||||
rm -f ${HOME}/.docker/config.json
|
# rm -f ${HOME}/.docker/config.json
|
||||||
|
#
|
||||||
ecr:
|
# ecr:
|
||||||
runs-on: ${{ matrix.os }}
|
# runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
# strategy:
|
||||||
fail-fast: false
|
# fail-fast: false
|
||||||
matrix:
|
# matrix:
|
||||||
os:
|
# os:
|
||||||
- ubuntu-20.04
|
# - ubuntu-20.04
|
||||||
- ubuntu-18.04
|
# - ubuntu-18.04
|
||||||
- ubuntu-16.04
|
# - ubuntu-16.04
|
||||||
logout:
|
# logout:
|
||||||
- true
|
# - true
|
||||||
- false
|
# - false
|
||||||
steps:
|
# steps:
|
||||||
-
|
# -
|
||||||
name: Checkout
|
# name: Checkout
|
||||||
uses: actions/checkout@v2.3.1
|
# uses: actions/checkout@v2.3.1
|
||||||
-
|
# -
|
||||||
name: Login to ECR
|
# name: Login to ECR
|
||||||
uses: ./
|
# uses: ./
|
||||||
with:
|
# with:
|
||||||
registry: ${{ secrets.AWS_ACCOUNT_NUMBER }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com
|
# registry: ${{ secrets.AWS_ACCOUNT_NUMBER }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com
|
||||||
username: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
# username: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||||
password: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
# password: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||||
logout: ${{ matrix.logout }}
|
# logout: ${{ matrix.logout }}
|
||||||
-
|
# -
|
||||||
name: Clear
|
# name: Clear
|
||||||
if: always()
|
# if: always()
|
||||||
run: |
|
# run: |
|
||||||
rm -f ${HOME}/.docker/config.json
|
# rm -f ${HOME}/.docker/config.json
|
||||||
|
Loading…
Reference in New Issue
Block a user