2020-11-19 04:40:39 -05:00
|
|
|
name: e2e
|
|
|
|
|
2023-09-05 04:59:10 -04:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2020-11-19 04:40:39 -05:00
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
schedule:
|
2021-11-16 01:19:27 -05:00
|
|
|
- cron: '0 10 * * *'
|
2020-11-19 04:40:39 -05:00
|
|
|
push:
|
|
|
|
branches:
|
2022-01-18 08:57:27 -05:00
|
|
|
- 'master'
|
2020-11-19 04:40:39 -05:00
|
|
|
tags:
|
2023-02-09 06:53:34 -05:00
|
|
|
- 'v*'
|
2020-11-19 04:40:39 -05:00
|
|
|
|
|
|
|
jobs:
|
2023-02-09 22:45:25 -05:00
|
|
|
build:
|
2023-08-09 06:31:24 -04:00
|
|
|
uses: ./.github/workflows/.e2e-run.yml
|
2020-11-19 17:56:09 -05:00
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
include:
|
2023-02-22 06:54:31 -05:00
|
|
|
-
|
|
|
|
name: Distribution
|
|
|
|
id: distribution
|
|
|
|
type: local
|
2020-11-19 17:56:09 -05:00
|
|
|
-
|
2023-02-09 22:45:25 -05:00
|
|
|
name: Docker Hub
|
2020-11-19 17:56:09 -05:00
|
|
|
registry: ''
|
|
|
|
slug: ghactionstest/ghactionstest
|
|
|
|
username_secret: DOCKERHUB_USERNAME
|
|
|
|
password_secret: DOCKERHUB_TOKEN
|
2023-02-09 22:45:25 -05:00
|
|
|
type: remote
|
2020-11-19 17:56:09 -05:00
|
|
|
-
|
2023-02-09 22:45:25 -05:00
|
|
|
name: GitHub
|
2020-11-19 17:56:09 -05:00
|
|
|
registry: ghcr.io
|
|
|
|
slug: ghcr.io/docker-ghactiontest/test
|
|
|
|
username_secret: GHCR_USERNAME
|
|
|
|
password_secret: GHCR_PAT
|
2023-02-09 22:45:25 -05:00
|
|
|
type: remote
|
2020-11-19 17:56:09 -05:00
|
|
|
-
|
2023-02-09 22:45:25 -05:00
|
|
|
name: GitLab
|
2020-11-19 17:56:09 -05:00
|
|
|
registry: registry.gitlab.com
|
|
|
|
slug: registry.gitlab.com/test1716/test
|
|
|
|
username_secret: GITLAB_USERNAME
|
|
|
|
password_secret: GITLAB_TOKEN
|
2023-02-09 22:45:25 -05:00
|
|
|
type: remote
|
2020-12-17 06:06:34 -05:00
|
|
|
-
|
2023-02-09 22:45:25 -05:00
|
|
|
name: AWS ECR
|
2020-12-17 06:06:34 -05:00
|
|
|
registry: 175142243308.dkr.ecr.us-east-2.amazonaws.com
|
|
|
|
slug: 175142243308.dkr.ecr.us-east-2.amazonaws.com/sandbox/test-docker-action
|
|
|
|
username_secret: AWS_ACCESS_KEY_ID
|
|
|
|
password_secret: AWS_SECRET_ACCESS_KEY
|
2023-02-09 22:45:25 -05:00
|
|
|
type: remote
|
2020-12-17 06:06:34 -05:00
|
|
|
-
|
2023-02-09 22:45:25 -05:00
|
|
|
name: AWS ECR Public
|
2020-12-17 06:06:34 -05:00
|
|
|
registry: public.ecr.aws
|
2020-12-17 08:56:10 -05:00
|
|
|
slug: public.ecr.aws/q3b5f1u4/test-docker-action
|
2020-12-17 06:06:34 -05:00
|
|
|
username_secret: AWS_ACCESS_KEY_ID
|
|
|
|
password_secret: AWS_SECRET_ACCESS_KEY
|
2023-02-09 22:45:25 -05:00
|
|
|
type: remote
|
2020-12-22 11:42:19 -05:00
|
|
|
-
|
2023-02-09 22:45:25 -05:00
|
|
|
name: Google Artifact Registry
|
2020-12-22 11:42:19 -05:00
|
|
|
registry: us-east4-docker.pkg.dev
|
|
|
|
slug: us-east4-docker.pkg.dev/sandbox-298914/docker-official-github-actions/test-docker-action
|
|
|
|
username_secret: GAR_USERNAME
|
|
|
|
password_secret: GAR_JSON_KEY
|
2023-02-09 22:45:25 -05:00
|
|
|
type: remote
|
2020-12-22 05:21:32 -05:00
|
|
|
-
|
2023-02-09 22:45:25 -05:00
|
|
|
name: Google Container Registry
|
2020-12-22 05:21:32 -05:00
|
|
|
registry: gcr.io
|
|
|
|
slug: gcr.io/sandbox-298914/test-docker-action
|
|
|
|
username_secret: GCR_USERNAME
|
|
|
|
password_secret: GCR_JSON_KEY
|
2023-02-09 22:45:25 -05:00
|
|
|
type: remote
|
2022-01-27 05:38:06 -05:00
|
|
|
-
|
2023-02-09 22:45:25 -05:00
|
|
|
name: Azure Container Registry
|
2022-01-27 05:38:06 -05:00
|
|
|
registry: officialgithubactions.azurecr.io
|
|
|
|
slug: officialgithubactions.azurecr.io/test-docker-action
|
|
|
|
username_secret: AZURE_CLIENT_ID
|
|
|
|
password_secret: AZURE_CLIENT_SECRET
|
2023-02-09 22:45:25 -05:00
|
|
|
type: remote
|
2023-02-09 06:06:55 -05:00
|
|
|
-
|
2023-02-09 22:45:25 -05:00
|
|
|
name: Quay
|
2023-02-09 06:06:55 -05:00
|
|
|
registry: quay.io
|
2023-02-15 13:23:19 -05:00
|
|
|
slug: quay.io/docker_build_team/ghactiontest
|
2023-02-09 06:06:55 -05:00
|
|
|
username_secret: QUAY_USERNAME
|
|
|
|
password_secret: QUAY_TOKEN
|
2023-02-09 22:45:25 -05:00
|
|
|
type: remote
|
2024-05-10 03:56:42 -04:00
|
|
|
-
|
|
|
|
name: Artifactory
|
|
|
|
registry: infradock.jfrog.io
|
2024-05-10 04:19:21 -04:00
|
|
|
slug: infradock.jfrog.io/test-ghaction/build-push-action
|
2024-05-10 03:56:42 -04:00
|
|
|
username_secret: ARTIFACTORY_USERNAME
|
|
|
|
password_secret: ARTIFACTORY_TOKEN
|
|
|
|
type: remote
|
2023-02-09 22:45:25 -05:00
|
|
|
-
|
|
|
|
name: Harbor
|
|
|
|
id: harbor
|
|
|
|
type: local
|
2023-02-10 00:15:35 -05:00
|
|
|
-
|
|
|
|
name: Nexus
|
|
|
|
id: nexus
|
|
|
|
type: local
|
2023-08-09 06:31:24 -04:00
|
|
|
with:
|
|
|
|
id: ${{ matrix.id }}
|
|
|
|
type: ${{ matrix.type }}
|
|
|
|
name: ${{ matrix.name }}
|
|
|
|
registry: ${{ matrix.registry }}
|
|
|
|
slug: ${{ matrix.slug }}
|
|
|
|
username_secret: ${{ matrix.username_secret }}
|
|
|
|
password_secret: ${{ matrix.password_secret }}
|
|
|
|
secrets: inherit
|