-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
This reverts commit 3c244ca.
- Loading branch information
1 parent
65dc34f
commit 1f6b82e
Showing
2 changed files
with
8 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,39 +16,6 @@ jobs: | |
DOCKERHUB_REPO: "otel/demo" | ||
GHCR_REPO: "ghcr.io/open-telemetry/demo" | ||
|
||
strategy: | ||
matrix: | ||
file_tag: | ||
- file: ./src/adservice/Dockerfile | ||
tag_suffix: adservice | ||
- file: ./src/cartservice/src/Dockerfile | ||
tag_suffix: cartservice | ||
- file: ./src/checkoutservice/Dockerfile | ||
tag_suffix: checkoutservice | ||
- file: ./src/currencyservice/Dockerfile | ||
tag_suffix: currencyservice | ||
- file: ./src/emailservice/Dockerfile | ||
tag_suffix: emailservice | ||
- file: ./src/frontend/Dockerfile | ||
tag_suffix: frontend | ||
- file: ./src/paymentservice/Dockerfile | ||
tag_suffix: paymentservice | ||
- file: ./src/productcatalogservice/Dockerfile | ||
tag_suffix: productcatalogservice | ||
- file: ./src/quoteservice/Dockerfile | ||
tag_suffix: quoteservice | ||
- file: ./src/shippingservice/Dockerfile | ||
tag_suffix: shippingservice | ||
- file: ./src/featureflagservice/Dockerfile | ||
tag_suffix: featureflagservice | ||
- file: ./src/loadgenerator/Dockerfile | ||
tag_suffix: loadgenerator | ||
- file: ./src/recommendationservice/Dockerfile | ||
tag_suffix: recommendationservice | ||
- file: ./src/frontend/Dockerfile.cypress | ||
tag_suffix: frontend-tests | ||
- file: ./test/Dockerfile | ||
tag_suffix: integrationTests | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
|
@@ -61,20 +28,6 @@ jobs: | |
echo $'{"max-concurrent-uploads": 1}' | sudo dd status=none of=/etc/docker/daemon.json | ||
sudo service docker restart | ||
- name: Set up QEMU | ||
uses: docker/[email protected] | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/[email protected] | ||
|
||
- name: Cache Docker layers | ||
uses: actions/cache@v3 | ||
with: | ||
path: /tmp/.buildx-cache | ||
key: ${{ runner.os }}-buildx-${{ github.sha }} | ||
restore-keys: | | ||
${{ runner.os }}-buildx- | ||
- name: Log in to the Container registry | ||
uses: docker/login-action@v2 | ||
with: | ||
|
@@ -88,13 +41,11 @@ jobs: | |
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
|
||
- name: Matrix Build and push demo images | ||
uses: docker/[email protected] | ||
with: | ||
context: ./ | ||
file: ${{ matrix.file_tag.file }} | ||
platforms: linux/amd64,linux/arm64 | ||
push: ${{ github.event_name != 'pull_request' }} | ||
tags: ${{ env.DOCKERHUB_REPO }}:${{ env.RELEASE_VERSION }}-${{ matrix.file_tag.tag_suffix }},${{ env.GHCR_REPO }}:${{ env.RELEASE_VERSION }}-${{ matrix.file_tag.tag_suffix }} | ||
cache-from: type=local,src=/tmp/.buildx-cache | ||
cache-to: type=local,dest=/tmp/.buildx-cache | ||
- name: prepare build env | ||
run: make build-env-file | ||
|
||
- name: build and push ghcr docker image | ||
run: make build-and-push-ghcr | ||
|
||
- name: build and push dockerhub image | ||
run: make build-and-push-dockerhub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters