Skip to content

Commit f26042b

Browse files
committed
enable auto publish
1 parent 7f699e3 commit f26042b

File tree

1 file changed

+55
-55
lines changed

1 file changed

+55
-55
lines changed

.github/workflows/release-build.yml

Lines changed: 55 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -37,65 +37,65 @@ jobs:
3737
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
3838
gpg_password: ${{ secrets.GPG_PASSPHRASE }}
3939

40-
- name: Configure AWS Credentials
41-
uses: aws-actions/configure-aws-credentials@v4
42-
with:
43-
role-to-assume: ${{ secrets.AWS_ASSUME_ROLE_ARN }}
44-
aws-region: ${{ env.AWS_PUBLIC_ECR_REGION }}
45-
46-
- name: Log in to AWS ECR
47-
uses: docker/login-action@v3
48-
with:
49-
registry: public.ecr.aws
50-
40+
# - name: Configure AWS Credentials
41+
# uses: aws-actions/configure-aws-credentials@v4
42+
# with:
43+
# role-to-assume: ${{ secrets.AWS_ASSUME_ROLE_ARN }}
44+
# aws-region: ${{ env.AWS_PUBLIC_ECR_REGION }}
45+
#
46+
# - name: Log in to AWS ECR
47+
# uses: docker/login-action@v3
48+
# with:
49+
# registry: public.ecr.aws
50+
#
5151
- name: Build release with Gradle
5252
uses: gradle/gradle-build-action@v3
5353
with:
5454
arguments: build integrationTests -PlocalDocker=true -Prelease.version=${{ github.event.inputs.version }} --stacktrace
55-
56-
- name: Configure AWS Credentials
57-
uses: aws-actions/configure-aws-credentials@v4
58-
with:
59-
role-to-assume: ${{ secrets.AWS_ASSUME_ROLE_ARN_RELEASE }}
60-
aws-region: ${{ env.AWS_PUBLIC_ECR_REGION }}
61-
62-
- name: Log in to AWS ECR
63-
uses: docker/login-action@v3
64-
with:
65-
registry: public.ecr.aws
66-
67-
- name: Configure AWS Credentials for Private ECR
68-
uses: aws-actions/configure-aws-credentials@v4
69-
with:
70-
role-to-assume: ${{ secrets.AWS_ASSUME_ROLE_ARN_RELEASE }}
71-
aws-region: ${{ env.AWS_PRIVATE_ECR_REGION }}
72-
73-
- name: Log in to AWS private ECR
74-
uses: docker/login-action@v3
75-
with:
76-
registry: ${{ env.PRIVATE_REGISTRY }}
77-
78-
- name: Set up QEMU
79-
uses: docker/setup-qemu-action@v3
80-
81-
- name: Set up Docker Buildx
82-
uses: docker/setup-buildx-action@v3
83-
with:
84-
driver-opts: image=moby/buildkit:v0.15.1
85-
86-
- name: Build image for testing
87-
uses: docker/build-push-action@v5
88-
with:
89-
push: false
90-
build-args: "ADOT_JAVA_VERSION=${{ github.event.inputs.version }}"
91-
context: .
92-
platforms: linux/amd64
93-
tags: ${{ env.TEST_TAG }}
94-
load: true
95-
96-
- name: Test docker image
97-
shell: bash
98-
run: .github/scripts/test-adot-javaagent-image.sh "${{ env.TEST_TAG }}" "${{ github.event.inputs.version }}"
55+
#
56+
# - name: Configure AWS Credentials
57+
# uses: aws-actions/configure-aws-credentials@v4
58+
# with:
59+
# role-to-assume: ${{ secrets.AWS_ASSUME_ROLE_ARN_RELEASE }}
60+
# aws-region: ${{ env.AWS_PUBLIC_ECR_REGION }}
61+
#
62+
# - name: Log in to AWS ECR
63+
# uses: docker/login-action@v3
64+
# with:
65+
# registry: public.ecr.aws
66+
#
67+
# - name: Configure AWS Credentials for Private ECR
68+
# uses: aws-actions/configure-aws-credentials@v4
69+
# with:
70+
# role-to-assume: ${{ secrets.AWS_ASSUME_ROLE_ARN_RELEASE }}
71+
# aws-region: ${{ env.AWS_PRIVATE_ECR_REGION }}
72+
#
73+
# - name: Log in to AWS private ECR
74+
# uses: docker/login-action@v3
75+
# with:
76+
# registry: ${{ env.PRIVATE_REGISTRY }}
77+
#
78+
# - name: Set up QEMU
79+
# uses: docker/setup-qemu-action@v3
80+
#
81+
# - name: Set up Docker Buildx
82+
# uses: docker/setup-buildx-action@v3
83+
# with:
84+
# driver-opts: image=moby/buildkit:v0.15.1
85+
#
86+
# - name: Build image for testing
87+
# uses: docker/build-push-action@v5
88+
# with:
89+
# push: false
90+
# build-args: "ADOT_JAVA_VERSION=${{ github.event.inputs.version }}"
91+
# context: .
92+
# platforms: linux/amd64
93+
# tags: ${{ env.TEST_TAG }}
94+
# load: true
95+
#
96+
# - name: Test docker image
97+
# shell: bash
98+
# run: .github/scripts/test-adot-javaagent-image.sh "${{ env.TEST_TAG }}" "${{ github.event.inputs.version }}"
9999

100100
# - name: Build and push image
101101
# uses: docker/build-push-action@v5

0 commit comments

Comments
 (0)