mirror of
https://github.com/distribution/distribution.git
synced 2026-07-17 19:59:36 +00:00
Bumps [docker/bake-action](https://github.com/docker/bake-action) from 7.1.0 to 7.2.0.
- [Release notes](https://github.com/docker/bake-action/releases)
- [Commits](a66e1c87e2...6614cfa25e)
---
updated-dependencies:
- dependency-name: docker/bake-action
dependency-version: 7.2.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
60 lines
1.3 KiB
YAML
60 lines
1.3 KiB
YAML
name: e2e
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'main'
|
|
- 'release/*'
|
|
pull_request:
|
|
|
|
permissions:
|
|
contents: read # to fetch code (actions/checkout)
|
|
|
|
jobs:
|
|
run-e2e-test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
-
|
|
name: Checkout
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with:
|
|
fetch-depth: 0
|
|
persist-credentials: false
|
|
-
|
|
name: Build image
|
|
uses: docker/bake-action@6614cfa25eff9a0b2b2697efb0b6159e7680d584 # v7.2.0
|
|
with:
|
|
source: .
|
|
targets: image-local
|
|
-
|
|
name: Start distribution server
|
|
run: |
|
|
docker run --rm -p 5000:5000 -p 5001:5001 -idt "registry:local"
|
|
-
|
|
name: Tests
|
|
run: |
|
|
bash ./tests/push.sh 127.0.0.0
|
|
|
|
run-e2e-test-s3-storage:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
-
|
|
name: Checkout
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with:
|
|
fetch-depth: 0
|
|
persist-credentials: false
|
|
-
|
|
name: Start E2E environment
|
|
run: |
|
|
make start-e2e-s3-env
|
|
|
|
- name: Tests
|
|
run: |
|
|
bash ./tests/push.sh 127.0.0.0
|
|
make stop-e2e-s3-env
|