Skip to content

Commit 327c6f9

Browse files
chore(bump): bump alpine and dockerize (#12184)
1 parent 667fa8f commit 327c6f9

File tree

10 files changed

+40
-39
lines changed

10 files changed

+40
-39
lines changed

.github/actions/docker-custom-build-and-push/action.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,11 @@ runs:
9797
cache-to: |
9898
type=inline
9999
- name: Upload image locally for testing (if not publishing)
100-
uses: ishworkh/docker-image-artifact-upload@v1
100+
uses: ishworkh/container-image-artifact-upload@v2.0.0
101101
if: ${{ inputs.publish != 'true' }}
102102
with:
103103
image: ${{ steps.single_tag.outputs.SINGLE_TAG }}
104+
retention_days: "2"
104105

105106
# Code for building multi-platform images and pushing to Docker Hub.
106107
- name: Set up QEMU

.github/workflows/docker-postgres-setup.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
with:
5353
images: |
5454
acryldata/datahub-postgres-setup
55-
tags: ${{ needs.setup.outputs.tag }}
55+
image_tag: ${{ needs.setup.outputs.tag }}
5656
username: ${{ secrets.ACRYL_DOCKER_USERNAME }}
5757
password: ${{ secrets.ACRYL_DOCKER_PASSWORD }}
5858
publish: ${{ needs.setup.outputs.publish == 'true' }}

.github/workflows/docker-unified.yml

+23-23
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ jobs:
186186
- name: Checkout # adding checkout step just to make trivy upload happy
187187
uses: acryldata/sane-checkout-action@v3
188188
- name: Download image
189-
uses: ishworkh/docker-image-artifact-download@v1
189+
uses: ishworkh/container-image-artifact-download@v2.0.0
190190
if: ${{ needs.setup.outputs.publish != 'true' && needs.setup.outputs.pr-publish != 'true' }}
191191
with:
192192
image: ${{ env.DATAHUB_GMS_IMAGE }}:${{ needs.setup.outputs.unique_tag }}
@@ -257,7 +257,7 @@ jobs:
257257
- name: Checkout # adding checkout step just to make trivy upload happy
258258
uses: acryldata/sane-checkout-action@v3
259259
- name: Download image
260-
uses: ishworkh/docker-image-artifact-download@v1
260+
uses: ishworkh/container-image-artifact-download@v2.0.0
261261
if: ${{ needs.setup.outputs.publish != 'true' && needs.setup.outputs.pr-publish != 'true' }}
262262
with:
263263
image: ${{ env.DATAHUB_MAE_CONSUMER_IMAGE }}:${{ needs.setup.outputs.unique_tag }}
@@ -328,7 +328,7 @@ jobs:
328328
- name: Checkout # adding checkout step just to make trivy upload happy
329329
uses: acryldata/sane-checkout-action@v3
330330
- name: Download image
331-
uses: ishworkh/docker-image-artifact-download@v1
331+
uses: ishworkh/container-image-artifact-download@v2.0.0
332332
if: ${{ needs.setup.outputs.publish != 'true' && needs.setup.outputs.pr-publish != 'true' }}
333333
with:
334334
image: ${{ env.DATAHUB_MCE_CONSUMER_IMAGE }}:${{ needs.setup.outputs.unique_tag }}
@@ -399,7 +399,7 @@ jobs:
399399
- name: Checkout # adding checkout step just to make trivy upload happy
400400
uses: acryldata/sane-checkout-action@v3
401401
- name: Download image
402-
uses: ishworkh/docker-image-artifact-download@v1
402+
uses: ishworkh/container-image-artifact-download@v2.0.0
403403
if: ${{ needs.setup.outputs.publish != 'true' && needs.setup.outputs.pr-publish != 'true' }}
404404
with:
405405
image: ${{ env.DATAHUB_UPGRADE_IMAGE }}:${{ needs.setup.outputs.unique_tag }}
@@ -472,7 +472,7 @@ jobs:
472472
- name: Checkout # adding checkout step just to make trivy upload happy
473473
uses: actions/checkout@v4
474474
- name: Download image
475-
uses: ishworkh/docker-image-artifact-download@v1
475+
uses: ishworkh/container-image-artifact-download@v2.0.0
476476
if: ${{ needs.setup.outputs.publish != 'true' && needs.setup.outputs.pr-publish != 'true' }}
477477
with:
478478
image: ${{ env.DATAHUB_FRONTEND_IMAGE }}:${{ needs.setup.outputs.unique_tag }}
@@ -533,7 +533,7 @@ jobs:
533533
- name: Checkout # adding checkout step just to make trivy upload happy
534534
uses: acryldata/sane-checkout-action@v3
535535
- name: Download image
536-
uses: ishworkh/docker-image-artifact-download@v1
536+
uses: ishworkh/container-image-artifact-download@v2.0.0
537537
if: ${{ needs.setup.outputs.publish != 'true' && needs.setup.outputs.pr-publish != 'true' }}
538538
with:
539539
image: ${{ env.DATAHUB_KAFKA_SETUP_IMAGE }}:${{ needs.setup.outputs.unique_tag }}
@@ -594,7 +594,7 @@ jobs:
594594
- name: Checkout # adding checkout step just to make trivy upload happy
595595
uses: acryldata/sane-checkout-action@v3
596596
- name: Download image
597-
uses: ishworkh/docker-image-artifact-download@v1
597+
uses: ishworkh/container-image-artifact-download@v2.0.0
598598
if: ${{ needs.setup.outputs.publish != 'true' && needs.setup.outputs.pr-publish != 'true' }}
599599
with:
600600
image: ${{ env.DATAHUB_MYSQL_SETUP_IMAGE }}:${{ needs.setup.outputs.unique_tag }}
@@ -655,7 +655,7 @@ jobs:
655655
- name: Checkout # adding checkout step just to make trivy upload happy
656656
uses: acryldata/sane-checkout-action@v3
657657
- name: Download image
658-
uses: ishworkh/docker-image-artifact-download@v1
658+
uses: ishworkh/container-image-artifact-download@v2.0.0
659659
if: ${{ needs.setup.outputs.publish != 'true' && needs.setup.outputs.pr-publish != 'true' }}
660660
with:
661661
image: ${{ env.DATAHUB_ELASTIC_SETUP_IMAGE }}:${{ needs.setup.outputs.unique_tag }}
@@ -727,7 +727,7 @@ jobs:
727727
- name: Check out the repo
728728
uses: acryldata/sane-checkout-action@v3
729729
- name: Download Base Image
730-
uses: ishworkh/docker-image-artifact-download@v1
730+
uses: ishworkh/container-image-artifact-download@v2.0.0
731731
if: ${{ needs.setup.outputs.publish != 'true' && needs.setup.outputs.pr-publish != 'true' && needs.setup.outputs.ingestion_base_change == 'true' }}
732732
with:
733733
image: ${{ env.DATAHUB_INGESTION_BASE_IMAGE }}:${{ needs.setup.outputs.ingestion_base_change == 'true' && needs.setup.outputs.unique_tag || 'head' }}
@@ -775,7 +775,7 @@ jobs:
775775
- name: Check out the repo
776776
uses: acryldata/sane-checkout-action@v3
777777
- name: Download Base Image
778-
uses: ishworkh/docker-image-artifact-download@v1
778+
uses: ishworkh/container-image-artifact-download@v2.0.0
779779
if: ${{ needs.setup.outputs.publish != 'true' && needs.setup.outputs.pr-publish != 'true' && needs.setup.outputs.ingestion_base_change == 'true' }}
780780
with:
781781
image: ${{ env.DATAHUB_INGESTION_BASE_IMAGE }}:${{ needs.setup.outputs.ingestion_base_change == 'true' && needs.setup.outputs.unique_tag || 'head' }}
@@ -836,7 +836,7 @@ jobs:
836836
if: ${{ needs.setup.outputs.ingestion_change == 'true' || needs.setup.outputs.publish == 'true' || needs.setup.outputs.pr-publish =='true' }}
837837
run: ./gradlew :metadata-ingestion:codegen
838838
- name: Download Base Image
839-
uses: ishworkh/docker-image-artifact-download@v1
839+
uses: ishworkh/container-image-artifact-download@v2.0.0
840840
if: ${{ needs.setup.outputs.publish != 'true' && needs.setup.outputs.pr-publish != 'true' && needs.setup.outputs.ingestion_base_change == 'true' }}
841841
with:
842842
image: ${{ env.DATAHUB_INGESTION_BASE_IMAGE }}:${{ needs.setup.outputs.ingestion_base_change == 'true' && needs.setup.outputs.unique_slim_tag || 'head-slim' }}
@@ -883,7 +883,7 @@ jobs:
883883
- name: Checkout # adding checkout step just to make trivy upload happy
884884
uses: acryldata/sane-checkout-action@v3
885885
- name: Download image Slim Image
886-
uses: ishworkh/docker-image-artifact-download@v1
886+
uses: ishworkh/container-image-artifact-download@v2.0.0
887887
if: ${{ needs.datahub_ingestion_slim_build.outputs.needs_artifact_download == 'true' }}
888888
with:
889889
image: ${{ env.DATAHUB_INGESTION_IMAGE }}:${{ needs.datahub_ingestion_slim_build.outputs.tag }}
@@ -937,7 +937,7 @@ jobs:
937937
if: ${{ needs.setup.outputs.ingestion_change == 'true' || needs.setup.outputs.publish == 'true' || needs.setup.outputs.pr-publish == 'true' }}
938938
run: ./gradlew :metadata-ingestion:codegen
939939
- name: Download Base Image
940-
uses: ishworkh/docker-image-artifact-download@v1
940+
uses: ishworkh/container-image-artifact-download@v2.0.0
941941
if: ${{ needs.setup.outputs.publish != 'true' && needs.setup.outputs.pr-publish != 'true' && needs.setup.outputs.ingestion_base_change == 'true' }}
942942
with:
943943
image: ${{ env.DATAHUB_INGESTION_BASE_IMAGE }}:${{ needs.setup.outputs.ingestion_base_change == 'true' && needs.setup.outputs.unique_tag || 'head' }}
@@ -982,7 +982,7 @@ jobs:
982982
- name: Checkout # adding checkout step just to make trivy upload happy
983983
uses: acryldata/sane-checkout-action@v3
984984
- name: Download image Full Image
985-
uses: ishworkh/docker-image-artifact-download@v1
985+
uses: ishworkh/container-image-artifact-download@v2.0.0
986986
if: ${{ needs.datahub_ingestion_full_build.outputs.needs_artifact_download == 'true' }}
987987
with:
988988
image: ${{ env.DATAHUB_INGESTION_IMAGE }}:${{ needs.datahub_ingestion_full_build.outputs.tag }}
@@ -1079,47 +1079,47 @@ jobs:
10791079
- name: Disk Check
10801080
run: df -h . && docker images
10811081
- name: Download GMS image
1082-
uses: ishworkh/docker-image-artifact-download@v1
1082+
uses: ishworkh/container-image-artifact-download@v2.0.0
10831083
if: ${{ ( needs.setup.outputs.publish != 'true' && needs.setup.outputs.pr-publish != 'true' ) && needs.gms_build.result == 'success' }}
10841084
with:
10851085
image: ${{ env.DATAHUB_GMS_IMAGE }}:${{ needs.setup.outputs.unique_tag }}
10861086
- name: Download Frontend image
1087-
uses: ishworkh/docker-image-artifact-download@v1
1087+
uses: ishworkh/container-image-artifact-download@v2.0.0
10881088
if: ${{ ( needs.setup.outputs.publish != 'true' && needs.setup.outputs.pr-publish != 'true' ) && needs.frontend_build.result == 'success' }}
10891089
with:
10901090
image: ${{ env.DATAHUB_FRONTEND_IMAGE }}:${{ needs.setup.outputs.unique_tag }}
10911091
- name: Download Kafka Setup image
1092-
uses: ishworkh/docker-image-artifact-download@v1
1092+
uses: ishworkh/container-image-artifact-download@v2.0.0
10931093
if: ${{ ( needs.setup.outputs.publish != 'true' && needs.setup.outputs.pr-publish != 'true' ) && needs.kafka_setup_build.result == 'success' }}
10941094
with:
10951095
image: ${{ env.DATAHUB_KAFKA_SETUP_IMAGE }}:${{ needs.setup.outputs.unique_tag }}
10961096
- name: Download Mysql Setup image
1097-
uses: ishworkh/docker-image-artifact-download@v1
1097+
uses: ishworkh/container-image-artifact-download@v2.0.0
10981098
if: ${{ ( needs.setup.outputs.publish != 'true' && needs.setup.outputs.pr-publish != 'true' ) && needs.mysql_setup_build.result == 'success' }}
10991099
with:
11001100
image: ${{ env.DATAHUB_MYSQL_SETUP_IMAGE }}:${{ needs.setup.outputs.unique_tag }}
11011101
- name: Download Elastic Setup image
1102-
uses: ishworkh/docker-image-artifact-download@v1
1102+
uses: ishworkh/container-image-artifact-download@v2.0.0
11031103
if: ${{ ( needs.setup.outputs.publish != 'true' && needs.setup.outputs.pr-publish != 'true' ) && needs.elasticsearch_setup_build.result == 'success' }}
11041104
with:
11051105
image: ${{ env.DATAHUB_ELASTIC_SETUP_IMAGE }}:${{ needs.setup.outputs.unique_tag }}
11061106
- name: Download MCE Consumer image
1107-
uses: ishworkh/docker-image-artifact-download@v1
1107+
uses: ishworkh/container-image-artifact-download@v2.0.0
11081108
if: ${{ ( needs.setup.outputs.publish != 'true' && needs.setup.outputs.pr-publish != 'true' ) && needs.mce_consumer_build.result == 'success' }}
11091109
with:
11101110
image: ${{ env.DATAHUB_MCE_CONSUMER_IMAGE }}:${{ needs.setup.outputs.unique_tag }}
11111111
- name: Download MAE Consumer image
1112-
uses: ishworkh/docker-image-artifact-download@v1
1112+
uses: ishworkh/container-image-artifact-download@v2.0.0
11131113
if: ${{ ( needs.setup.outputs.publish != 'true' && needs.setup.outputs.pr-publish != 'true' ) && needs.mae_consumer_build.result == 'success' }}
11141114
with:
11151115
image: ${{ env.DATAHUB_MAE_CONSUMER_IMAGE }}:${{ needs.setup.outputs.unique_tag }}
11161116
- name: Download upgrade image
1117-
uses: ishworkh/docker-image-artifact-download@v1
1117+
uses: ishworkh/container-image-artifact-download@v2.0.0
11181118
if: ${{ ( needs.setup.outputs.publish != 'true' && needs.setup.outputs.pr-publish != 'true' ) && needs.datahub_upgrade_build.result == 'success' }}
11191119
with:
11201120
image: ${{ env.DATAHUB_UPGRADE_IMAGE }}:${{ needs.setup.outputs.unique_tag }}
11211121
- name: Download datahub-ingestion-slim image
1122-
uses: ishworkh/docker-image-artifact-download@v1
1122+
uses: ishworkh/container-image-artifact-download@v2.0.0
11231123
if: ${{ needs.datahub_ingestion_slim_build.outputs.needs_artifact_download == 'true' && needs.datahub_ingestion_slim_build.result == 'success' }}
11241124
with:
11251125
image: ${{ env.DATAHUB_INGESTION_IMAGE }}:${{ needs.datahub_ingestion_slim_build.outputs.tag }}

docker/datahub-gms/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ ARG ALPINE_REPO_URL=http://dl-cdn.alpinelinux.org/alpine
66
ARG GITHUB_REPO_URL=https://github.com
77
ARG MAVEN_CENTRAL_REPO_URL=https://repo1.maven.org/maven2
88

9-
FROM golang:1-alpine3.20 AS binary
9+
FROM golang:1-alpine3.21 AS binary
1010

1111
# Re-declaring arg from above to make it available in this stage (will inherit default value)
1212
ARG ALPINE_REPO_URL
1313

14-
ENV DOCKERIZE_VERSION=v0.6.1
14+
ENV DOCKERIZE_VERSION=v0.9.1
1515
WORKDIR /go/src/github.com/jwilder
1616

1717
# Optionally set corporate mirror for apk

docker/datahub-mae-consumer/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ ARG ALPINE_REPO_URL=http://dl-cdn.alpinelinux.org/alpine
66
ARG GITHUB_REPO_URL=https://github.com
77
ARG MAVEN_CENTRAL_REPO_URL=https://repo1.maven.org/maven2
88

9-
FROM golang:1-alpine3.20 AS binary
9+
FROM golang:1-alpine3.21 AS binary
1010

1111
# Re-declaring arg from above to make it available in this stage (will inherit default value)
1212
ARG ALPINE_REPO_URL
1313

14-
ENV DOCKERIZE_VERSION=v0.6.1
14+
ENV DOCKERIZE_VERSION=v0.9.1
1515
WORKDIR /go/src/github.com/jwilder
1616

1717
# Optionally set corporate mirror for apk

docker/datahub-mce-consumer/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ ARG ALPINE_REPO_URL=http://dl-cdn.alpinelinux.org/alpine
66
ARG GITHUB_REPO_URL=https://github.com
77
ARG MAVEN_CENTRAL_REPO_URL=https://repo1.maven.org/maven2
88

9-
FROM golang:1-alpine3.20 AS binary
9+
FROM golang:1-alpine3.21 AS binary
1010

1111
# Re-declaring arg from above to make it available in this stage (will inherit default value)
1212
ARG ALPINE_REPO_URL
1313

14-
ENV DOCKERIZE_VERSION=v0.6.1
14+
ENV DOCKERIZE_VERSION=v0.9.1
1515
WORKDIR /go/src/github.com/jwilder
1616

1717
# Optionally set corporate mirror for apk

docker/datahub-upgrade/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ ARG ALPINE_REPO_URL=http://dl-cdn.alpinelinux.org/alpine
66
ARG GITHUB_REPO_URL=https://github.com
77
ARG MAVEN_CENTRAL_REPO_URL=https://repo1.maven.org/maven2
88

9-
FROM golang:1-alpine3.20 AS binary
9+
FROM golang:1-alpine3.21 AS binary
1010

1111
# Re-declaring arg from above to make it available in this stage (will inherit default value)
1212
ARG ALPINE_REPO_URL
1313

14-
ENV DOCKERIZE_VERSION=v0.6.1
14+
ENV DOCKERIZE_VERSION=v0.9.1
1515
WORKDIR /go/src/github.com/jwilder
1616

1717
# Optionally set corporate mirror for apk

docker/elasticsearch-setup/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ ARG APP_ENV=prod
66
# Defining custom repo urls for use in enterprise environments. Re-used between stages below.
77
ARG ALPINE_REPO_URL=http://dl-cdn.alpinelinux.org/alpine
88

9-
FROM golang:1-alpine3.20 AS binary
9+
FROM golang:1-alpine3.21 AS binary
1010

1111
ARG ALPINE_REPO_URL
1212

13-
ENV DOCKERIZE_VERSION=v0.6.1
13+
ENV DOCKERIZE_VERSION=v0.9.1
1414
WORKDIR /go/src/github.com/jwilder
1515

1616
# Optionally set corporate mirror for apk

docker/mysql-setup/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Defining custom repo urls for use in enterprise environments. Re-used between stages below.
22
ARG ALPINE_REPO_URL=http://dl-cdn.alpinelinux.org/alpine
33

4-
FROM golang:1-alpine3.20 AS binary
4+
FROM golang:1-alpine3.21 AS binary
55

66
ARG ALPINE_REPO_URL
77

8-
ENV DOCKERIZE_VERSION=v0.6.1
8+
ENV DOCKERIZE_VERSION=v0.9.1
99
WORKDIR /go/src/github.com/jwilder
1010

1111
# Optionally set corporate mirror for apk

docker/postgres-setup/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Defining custom repo urls for use in enterprise environments. Re-used between stages below.
22
ARG ALPINE_REPO_URL=http://dl-cdn.alpinelinux.org/alpine
33

4-
FROM golang:1-alpine3.20 AS binary
4+
FROM golang:1-alpine3.21 AS binary
55

66
ARG ALPINE_REPO_URL
77

8-
ENV DOCKERIZE_VERSION=v0.6.1
8+
ENV DOCKERIZE_VERSION=v0.9.1
99
WORKDIR /go/src/github.com/jwilder
1010

1111
# Optionally set corporate mirror for apk

0 commit comments

Comments
 (0)