@@ -35,74 +35,74 @@ jobs:
35
35
gpg_private_key : ${{ secrets.GPG_PRIVATE_KEY }}
36
36
gpg_password : ${{ secrets.GPG_PASSPHRASE }}
37
37
38
- - name : Configure AWS Credentials
39
- uses : aws-actions/configure-aws-credentials@v4
40
- with :
41
- role-to-assume : ${{ secrets.AWS_ASSUME_ROLE_ARN }}
42
- aws-region : ${{ env.AWS_PUBLIC_ECR_REGION }}
38
+ # - name: Configure AWS Credentials
39
+ # uses: aws-actions/configure-aws-credentials@v4
40
+ # with:
41
+ # role-to-assume: ${{ secrets.AWS_ASSUME_ROLE_ARN }}
42
+ # aws-region: ${{ env.AWS_PUBLIC_ECR_REGION }}
43
43
44
- - name : Log in to AWS ECR
45
- uses : docker/login-action@v3
46
- with :
47
- registry : public.ecr.aws
44
+ # - name: Log in to AWS ECR
45
+ # uses: docker/login-action@v3
46
+ # with:
47
+ # registry: public.ecr.aws
48
48
49
49
- name : Build release with Gradle
50
50
uses : gradle/gradle-build-action@v3
51
51
with :
52
52
arguments : build integrationTests -PlocalDocker=true -Prelease.version=${{ github.event.inputs.version }} --stacktrace
53
53
54
- - name : Configure AWS Credentials
55
- uses : aws-actions/configure-aws-credentials@v4
56
- with :
57
- role-to-assume : ${{ secrets.AWS_ASSUME_ROLE_ARN_RELEASE }}
58
- aws-region : ${{ env.AWS_PUBLIC_ECR_REGION }}
59
-
60
- - name : Log in to AWS ECR
61
- uses : docker/login-action@v3
62
- with :
63
- registry : public.ecr.aws
64
-
65
- - name : Configure AWS Credentials for Private ECR
66
- uses : aws-actions/configure-aws-credentials@v4
67
- with :
68
- role-to-assume : ${{ secrets.AWS_ASSUME_ROLE_ARN_RELEASE }}
69
- aws-region : ${{ env.AWS_PRIVATE_ECR_REGION }}
70
-
71
- - name : Log in to AWS private ECR
72
- uses : docker/login-action@v3
73
- with :
74
- registry : ${{ env.PRIVATE_REGISTRY }}
75
-
76
- - name : Set up QEMU
77
- uses : docker/setup-qemu-action@v3
78
-
79
- - name : Set up Docker Buildx
80
- uses : docker/setup-buildx-action@v3
81
-
82
- - name : Build image for testing
83
- uses : docker/build-push-action@v5
84
- with :
85
- push : false
86
- build-args : " ADOT_JAVA_VERSION=${{ github.event.inputs.version }}"
87
- context : .
88
- platforms : linux/amd64
89
- tags : ${{ env.TEST_TAG }}
90
- load : true
91
-
92
- - name : Test docker image
93
- shell : bash
94
- run : .github/scripts/test-adot-javaagent-image.sh "${{ env.TEST_TAG }}" "${{ github.event.inputs.version }}"
95
-
96
- - name : Build and push image
97
- uses : docker/build-push-action@v5
98
- with :
99
- push : true
100
- build-args : " ADOT_JAVA_VERSION=${{ github.event.inputs.version }}"
101
- context : .
102
- platforms : linux/amd64,linux/arm64
103
- tags : |
104
- ${{ env.PUBLIC_REPOSITORY }}:v${{ github.event.inputs.version }}
105
- ${{ env.PRIVATE_REPOSITORY }}:v${{ github.event.inputs.version }}
54
+ # - name: Configure AWS Credentials
55
+ # uses: aws-actions/configure-aws-credentials@v4
56
+ # with:
57
+ # role-to-assume: ${{ secrets.AWS_ASSUME_ROLE_ARN_RELEASE }}
58
+ # aws-region: ${{ env.AWS_PUBLIC_ECR_REGION }}
59
+
60
+ # - name: Log in to AWS ECR
61
+ # uses: docker/login-action@v3
62
+ # with:
63
+ # registry: public.ecr.aws
64
+
65
+ # - name: Configure AWS Credentials for Private ECR
66
+ # uses: aws-actions/configure-aws-credentials@v4
67
+ # with:
68
+ # role-to-assume: ${{ secrets.AWS_ASSUME_ROLE_ARN_RELEASE }}
69
+ # aws-region: ${{ env.AWS_PRIVATE_ECR_REGION }}
70
+
71
+ # - name: Log in to AWS private ECR
72
+ # uses: docker/login-action@v3
73
+ # with:
74
+ # registry: ${{ env.PRIVATE_REGISTRY }}
75
+
76
+ # - name: Set up QEMU
77
+ # uses: docker/setup-qemu-action@v3
78
+
79
+ # - name: Set up Docker Buildx
80
+ # uses: docker/setup-buildx-action@v3
81
+
82
+ # - name: Build image for testing
83
+ # uses: docker/build-push-action@v5
84
+ # with:
85
+ # push: false
86
+ # build-args: "ADOT_JAVA_VERSION=${{ github.event.inputs.version }}"
87
+ # context: .
88
+ # platforms: linux/amd64
89
+ # tags: ${{ env.TEST_TAG }}
90
+ # load: true
91
+
92
+ # - name: Test docker image
93
+ # shell: bash
94
+ # run: .github/scripts/test-adot-javaagent-image.sh "${{ env.TEST_TAG }}" "${{ github.event.inputs.version }}"
95
+
96
+ # - name: Build and push image
97
+ # uses: docker/build-push-action@v5
98
+ # with:
99
+ # push: true
100
+ # build-args: "ADOT_JAVA_VERSION=${{ github.event.inputs.version }}"
101
+ # context: .
102
+ # platforms: linux/amd64,linux/arm64
103
+ # tags: |
104
+ # ${{ env.PUBLIC_REPOSITORY }}:v${{ github.event.inputs.version }}
105
+ # ${{ env.PRIVATE_REPOSITORY }}:v${{ github.event.inputs.version }}
106
106
107
107
- name : Build and Publish release with Gradle
108
108
uses : gradle/gradle-build-action@v3
0 commit comments