2020-11-19 09:40:39 +00:00
|
|
|
name: e2e
|
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
schedule:
|
2021-11-16 06:19:27 +00:00
|
|
|
- cron: '0 10 * * *'
|
2020-11-19 09:40:39 +00:00
|
|
|
push:
|
|
|
|
branches:
|
2022-01-18 13:57:27 +00:00
|
|
|
- 'master'
|
2020-11-19 09:40:39 +00:00
|
|
|
tags:
|
2023-02-09 11:53:34 +00:00
|
|
|
- 'v*'
|
2020-11-19 09:40:39 +00:00
|
|
|
|
|
|
|
jobs:
|
2023-02-10 03:45:25 +00:00
|
|
|
build:
|
2023-08-09 10:31:24 +00:00
|
|
|
uses: ./.github/workflows/.e2e-run.yml
|
2020-11-19 22:56:09 +00:00
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
include:
|
2023-02-22 11:54:31 +00:00
|
|
|
-
|
|
|
|
name: Distribution
|
|
|
|
id: distribution
|
|
|
|
type: local
|
2020-11-19 22:56:09 +00:00
|
|
|
-
|
2023-02-10 03:45:25 +00:00
|
|
|
name: Docker Hub
|
2020-11-19 22:56:09 +00:00
|
|
|
registry: ''
|
|
|
|
slug: ghactionstest/ghactionstest
|
|
|
|
username_secret: DOCKERHUB_USERNAME
|
|
|
|
password_secret: DOCKERHUB_TOKEN
|
2023-02-10 03:45:25 +00:00
|
|
|
type: remote
|
2020-11-19 22:56:09 +00:00
|
|
|
-
|
2023-02-10 03:45:25 +00:00
|
|
|
name: GitHub
|
2020-11-19 22:56:09 +00:00
|
|
|
registry: ghcr.io
|
|
|
|
slug: ghcr.io/docker-ghactiontest/test
|
|
|
|
username_secret: GHCR_USERNAME
|
|
|
|
password_secret: GHCR_PAT
|
2023-02-10 03:45:25 +00:00
|
|
|
type: remote
|
2020-11-19 22:56:09 +00:00
|
|
|
-
|
2023-02-10 03:45:25 +00:00
|
|
|
name: GitLab
|
2020-11-19 22:56:09 +00:00
|
|
|
registry: registry.gitlab.com
|
|
|
|
slug: registry.gitlab.com/test1716/test
|
|
|
|
username_secret: GITLAB_USERNAME
|
|
|
|
password_secret: GITLAB_TOKEN
|
2023-02-10 03:45:25 +00:00
|
|
|
type: remote
|
2020-12-17 11:06:34 +00:00
|
|
|
-
|
2023-02-10 03:45:25 +00:00
|
|
|
name: AWS ECR
|
2020-12-17 11:06:34 +00: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-10 03:45:25 +00:00
|
|
|
type: remote
|
2020-12-17 11:06:34 +00:00
|
|
|
-
|
2023-02-10 03:45:25 +00:00
|
|
|
name: AWS ECR Public
|
2020-12-17 11:06:34 +00:00
|
|
|
registry: public.ecr.aws
|
2020-12-17 13:56:10 +00:00
|
|
|
slug: public.ecr.aws/q3b5f1u4/test-docker-action
|
2020-12-17 11:06:34 +00:00
|
|
|
username_secret: AWS_ACCESS_KEY_ID
|
|
|
|
password_secret: AWS_SECRET_ACCESS_KEY
|
2023-02-10 03:45:25 +00:00
|
|
|
type: remote
|
2020-12-22 16:42:19 +00:00
|
|
|
-
|
2023-02-10 03:45:25 +00:00
|
|
|
name: Google Artifact Registry
|
2020-12-22 16:42:19 +00: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-10 03:45:25 +00:00
|
|
|
type: remote
|
2020-12-22 10:21:32 +00:00
|
|
|
-
|
2023-02-10 03:45:25 +00:00
|
|
|
name: Google Container Registry
|
2020-12-22 10:21:32 +00:00
|
|
|
registry: gcr.io
|
|
|
|
slug: gcr.io/sandbox-298914/test-docker-action
|
|
|
|
username_secret: GCR_USERNAME
|
|
|
|
password_secret: GCR_JSON_KEY
|
2023-02-10 03:45:25 +00:00
|
|
|
type: remote
|
2022-01-27 10:38:06 +00:00
|
|
|
-
|
2023-02-10 03:45:25 +00:00
|
|
|
name: Azure Container Registry
|
2022-01-27 10:38:06 +00:00
|
|
|
registry: officialgithubactions.azurecr.io
|
|
|
|
slug: officialgithubactions.azurecr.io/test-docker-action
|
|
|
|
username_secret: AZURE_CLIENT_ID
|
|
|
|
password_secret: AZURE_CLIENT_SECRET
|
2023-02-10 03:45:25 +00:00
|
|
|
type: remote
|
2023-02-09 11:06:55 +00:00
|
|
|
-
|
2023-02-10 03:45:25 +00:00
|
|
|
name: Quay
|
2023-02-09 11:06:55 +00:00
|
|
|
registry: quay.io
|
2023-02-15 18:23:19 +00:00
|
|
|
slug: quay.io/docker_build_team/ghactiontest
|
2023-02-09 11:06:55 +00:00
|
|
|
username_secret: QUAY_USERNAME
|
|
|
|
password_secret: QUAY_TOKEN
|
2023-02-10 03:45:25 +00:00
|
|
|
type: remote
|
2023-02-15 10:48:43 +00:00
|
|
|
-
|
|
|
|
name: Artifactory
|
2023-07-11 10:13:17 +00:00
|
|
|
registry: sforzando-build-team-local.jfrog.io
|
|
|
|
slug: sforzando-build-team-local.jfrog.io/build-push-action-e2e
|
2023-02-15 10:48:43 +00:00
|
|
|
username_secret: ARTIFACTORY_USERNAME
|
|
|
|
password_secret: ARTIFACTORY_TOKEN
|
|
|
|
type: remote
|
2023-02-10 03:45:25 +00:00
|
|
|
-
|
|
|
|
name: Harbor
|
|
|
|
id: harbor
|
|
|
|
type: local
|
2023-02-10 05:15:35 +00:00
|
|
|
-
|
|
|
|
name: Nexus
|
|
|
|
id: nexus
|
|
|
|
type: local
|
2023-08-09 10:31:24 +00: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
|