Skip to content

Commit f8cc952

Browse files
authored
chore(ci): Add Docker paths via globs to dependabot and update Dockerfiles to pin sha256 (#1960)
* Add Docker paths to dependabot and update Dockerfiles to pin image version. * Remove dependabot auto-merging workflow.
1 parent 1a09a7d commit f8cc952

File tree

5 files changed

+8
-48
lines changed

5 files changed

+8
-48
lines changed

.github/dependabot.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,13 @@ updates:
99

1010
- package-ecosystem: docker
1111
directories:
12-
- "/powertools-e2e-tests"
13-
- "/examples"
14-
labels: [ ]
12+
- "/powertools-e2e-tests/src/test/resources/docker"
13+
- "/docs"
14+
- "/examples/**"
1515
schedule:
1616
interval: daily
17+
commit-message:
18+
prefix: chore
1719

1820
- package-ecosystem: "maven"
1921
directory: "/"

.github/workflows/security-dependabot.yml

Lines changed: 0 additions & 42 deletions
This file was deleted.

examples/powertools-examples-core-utilities/sam-graalvm/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#Use the official AWS SAM base image for Java 21
2-
FROM public.ecr.aws/sam/build-java21:latest
2+
FROM public.ecr.aws/sam/build-java21@sha256:a5554d68374e19450c6c88448516ac95a9acedc779f318040f5c230134b4e461
33

44
#Install GraalVM dependencies
55
RUN curl -4 -L curl https://download.oracle.com/graalvm/21/latest/graalvm-jdk-21_linux-x64_bin.tar.gz | tar -xvz

examples/powertools-examples-parameters/sam-graalvm/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#Use the official AWS SAM base image for Java 21
2-
FROM public.ecr.aws/sam/build-java21:latest
2+
FROM public.ecr.aws/sam/build-java21@sha256:a5554d68374e19450c6c88448516ac95a9acedc779f318040f5c230134b4e461
33

44
#Install GraalVM dependencies
55
RUN curl -4 -L curl https://download.oracle.com/graalvm/21/latest/graalvm-jdk-21_linux-x64_bin.tar.gz | tar -xvz

examples/powertools-examples-serialization/sam-graalvm/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#Use the official AWS SAM base image for Java 21
2-
FROM public.ecr.aws/sam/build-java21:latest
2+
FROM public.ecr.aws/sam/build-java21@sha256:a5554d68374e19450c6c88448516ac95a9acedc779f318040f5c230134b4e461
33

44
#Install GraalVM dependencies
55
RUN curl -4 -L curl https://download.oracle.com/graalvm/21/latest/graalvm-jdk-21_linux-x64_bin.tar.gz | tar -xvz

0 commit comments

Comments
 (0)