diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 93a2dee..652c04a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,8 +24,8 @@ jobs: - integrationTestMounts - integrationTestXenitEndpoints steps: - - uses: actions/checkout@v2 - - uses: actions/setup-java@v1 + - uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2 + - uses: actions/setup-java@b6e674f4b717d7b0ae3baee0fbe79f498905dfde # v1 with: java-version: 1.11 - name: Add license @@ -45,7 +45,7 @@ jobs: arguments: ${{ matrix.task }} --info - name: Upload Artifact if: success() || failure() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3 with: name: ${{ matrix.task }}-result path: /home/runner/work/**/build/reports @@ -59,7 +59,7 @@ jobs: version: - solr6 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2 - name: Setup Gradle uses: gradle/gradle-build-action@v2 - name: Login to CloudSmith diff --git a/src/integrationTest/resources/docker-compose-db.yml b/src/integrationTest/resources/docker-compose-db.yml index e938268..85c37b2 100644 --- a/src/integrationTest/resources/docker-compose-db.yml +++ b/src/integrationTest/resources/docker-compose-db.yml @@ -2,7 +2,7 @@ version: '3' services: postgresql: - image: docker.io/xenit/postgres + image: docker.io/xenit/postgres@sha256:d9c3e2a7c41c668835adb8752b17ad1506dcd38744a0c67ca90699a7be4b7e80 environment: - POSTGRES_USER=alfresco - POSTGRES_PASSWORD=admin diff --git a/src/main/resources/dockerfiles/Dockerfile.solr6 b/src/main/resources/dockerfiles/Dockerfile.solr6 index e569875..d9a2f9b 100644 --- a/src/main/resources/dockerfiles/Dockerfile.solr6 +++ b/src/main/resources/dockerfiles/Dockerfile.solr6 @@ -1,5 +1,5 @@ -ARG BASE_IMAGE=docker.io/xenit/openjdk:alfresco-6.1-ubuntu -FROM alpine:latest AS build-stage-solr6 +ARG BASE_IMAGE=docker.io/xenit/openjdk:alfresco-6.1-ubuntu@sha256:d49df9fb6638b816e979445cff3997122b63a7a81c1864788827ac6ad1964d37 +FROM alpine:latest@sha256:51b67269f354137895d43f3b3d810bfacd3945438e94dc5ac55fdac340352f48 AS build-stage-solr6 ARG SOLR_VERSION_MAJOR ARG SOLR_VERSION_MINOR