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