mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-28 18:38:17 +00:00
chore(bump): bump alpine and dockerize (#12184)
This commit is contained in:
parent
667fa8fcce
commit
327c6f911a
@ -97,10 +97,11 @@ runs:
|
||||
cache-to: |
|
||||
type=inline
|
||||
- name: Upload image locally for testing (if not publishing)
|
||||
uses: ishworkh/docker-image-artifact-upload@v1
|
||||
uses: ishworkh/container-image-artifact-upload@v2.0.0
|
||||
if: ${{ inputs.publish != 'true' }}
|
||||
with:
|
||||
image: ${{ steps.single_tag.outputs.SINGLE_TAG }}
|
||||
retention_days: "2"
|
||||
|
||||
# Code for building multi-platform images and pushing to Docker Hub.
|
||||
- name: Set up QEMU
|
||||
|
||||
2
.github/workflows/docker-postgres-setup.yml
vendored
2
.github/workflows/docker-postgres-setup.yml
vendored
@ -52,7 +52,7 @@ jobs:
|
||||
with:
|
||||
images: |
|
||||
acryldata/datahub-postgres-setup
|
||||
tags: ${{ needs.setup.outputs.tag }}
|
||||
image_tag: ${{ needs.setup.outputs.tag }}
|
||||
username: ${{ secrets.ACRYL_DOCKER_USERNAME }}
|
||||
password: ${{ secrets.ACRYL_DOCKER_PASSWORD }}
|
||||
publish: ${{ needs.setup.outputs.publish == 'true' }}
|
||||
|
||||
46
.github/workflows/docker-unified.yml
vendored
46
.github/workflows/docker-unified.yml
vendored
@ -186,7 +186,7 @@ jobs:
|
||||
- name: Checkout # adding checkout step just to make trivy upload happy
|
||||
uses: acryldata/sane-checkout-action@v3
|
||||
- name: Download image
|
||||
uses: ishworkh/docker-image-artifact-download@v1
|
||||
uses: ishworkh/container-image-artifact-download@v2.0.0
|
||||
if: ${{ needs.setup.outputs.publish != 'true' && needs.setup.outputs.pr-publish != 'true' }}
|
||||
with:
|
||||
image: ${{ env.DATAHUB_GMS_IMAGE }}:${{ needs.setup.outputs.unique_tag }}
|
||||
@ -257,7 +257,7 @@ jobs:
|
||||
- name: Checkout # adding checkout step just to make trivy upload happy
|
||||
uses: acryldata/sane-checkout-action@v3
|
||||
- name: Download image
|
||||
uses: ishworkh/docker-image-artifact-download@v1
|
||||
uses: ishworkh/container-image-artifact-download@v2.0.0
|
||||
if: ${{ needs.setup.outputs.publish != 'true' && needs.setup.outputs.pr-publish != 'true' }}
|
||||
with:
|
||||
image: ${{ env.DATAHUB_MAE_CONSUMER_IMAGE }}:${{ needs.setup.outputs.unique_tag }}
|
||||
@ -328,7 +328,7 @@ jobs:
|
||||
- name: Checkout # adding checkout step just to make trivy upload happy
|
||||
uses: acryldata/sane-checkout-action@v3
|
||||
- name: Download image
|
||||
uses: ishworkh/docker-image-artifact-download@v1
|
||||
uses: ishworkh/container-image-artifact-download@v2.0.0
|
||||
if: ${{ needs.setup.outputs.publish != 'true' && needs.setup.outputs.pr-publish != 'true' }}
|
||||
with:
|
||||
image: ${{ env.DATAHUB_MCE_CONSUMER_IMAGE }}:${{ needs.setup.outputs.unique_tag }}
|
||||
@ -399,7 +399,7 @@ jobs:
|
||||
- name: Checkout # adding checkout step just to make trivy upload happy
|
||||
uses: acryldata/sane-checkout-action@v3
|
||||
- name: Download image
|
||||
uses: ishworkh/docker-image-artifact-download@v1
|
||||
uses: ishworkh/container-image-artifact-download@v2.0.0
|
||||
if: ${{ needs.setup.outputs.publish != 'true' && needs.setup.outputs.pr-publish != 'true' }}
|
||||
with:
|
||||
image: ${{ env.DATAHUB_UPGRADE_IMAGE }}:${{ needs.setup.outputs.unique_tag }}
|
||||
@ -472,7 +472,7 @@ jobs:
|
||||
- name: Checkout # adding checkout step just to make trivy upload happy
|
||||
uses: actions/checkout@v4
|
||||
- name: Download image
|
||||
uses: ishworkh/docker-image-artifact-download@v1
|
||||
uses: ishworkh/container-image-artifact-download@v2.0.0
|
||||
if: ${{ needs.setup.outputs.publish != 'true' && needs.setup.outputs.pr-publish != 'true' }}
|
||||
with:
|
||||
image: ${{ env.DATAHUB_FRONTEND_IMAGE }}:${{ needs.setup.outputs.unique_tag }}
|
||||
@ -533,7 +533,7 @@ jobs:
|
||||
- name: Checkout # adding checkout step just to make trivy upload happy
|
||||
uses: acryldata/sane-checkout-action@v3
|
||||
- name: Download image
|
||||
uses: ishworkh/docker-image-artifact-download@v1
|
||||
uses: ishworkh/container-image-artifact-download@v2.0.0
|
||||
if: ${{ needs.setup.outputs.publish != 'true' && needs.setup.outputs.pr-publish != 'true' }}
|
||||
with:
|
||||
image: ${{ env.DATAHUB_KAFKA_SETUP_IMAGE }}:${{ needs.setup.outputs.unique_tag }}
|
||||
@ -594,7 +594,7 @@ jobs:
|
||||
- name: Checkout # adding checkout step just to make trivy upload happy
|
||||
uses: acryldata/sane-checkout-action@v3
|
||||
- name: Download image
|
||||
uses: ishworkh/docker-image-artifact-download@v1
|
||||
uses: ishworkh/container-image-artifact-download@v2.0.0
|
||||
if: ${{ needs.setup.outputs.publish != 'true' && needs.setup.outputs.pr-publish != 'true' }}
|
||||
with:
|
||||
image: ${{ env.DATAHUB_MYSQL_SETUP_IMAGE }}:${{ needs.setup.outputs.unique_tag }}
|
||||
@ -655,7 +655,7 @@ jobs:
|
||||
- name: Checkout # adding checkout step just to make trivy upload happy
|
||||
uses: acryldata/sane-checkout-action@v3
|
||||
- name: Download image
|
||||
uses: ishworkh/docker-image-artifact-download@v1
|
||||
uses: ishworkh/container-image-artifact-download@v2.0.0
|
||||
if: ${{ needs.setup.outputs.publish != 'true' && needs.setup.outputs.pr-publish != 'true' }}
|
||||
with:
|
||||
image: ${{ env.DATAHUB_ELASTIC_SETUP_IMAGE }}:${{ needs.setup.outputs.unique_tag }}
|
||||
@ -727,7 +727,7 @@ jobs:
|
||||
- name: Check out the repo
|
||||
uses: acryldata/sane-checkout-action@v3
|
||||
- name: Download Base Image
|
||||
uses: ishworkh/docker-image-artifact-download@v1
|
||||
uses: ishworkh/container-image-artifact-download@v2.0.0
|
||||
if: ${{ needs.setup.outputs.publish != 'true' && needs.setup.outputs.pr-publish != 'true' && needs.setup.outputs.ingestion_base_change == 'true' }}
|
||||
with:
|
||||
image: ${{ env.DATAHUB_INGESTION_BASE_IMAGE }}:${{ needs.setup.outputs.ingestion_base_change == 'true' && needs.setup.outputs.unique_tag || 'head' }}
|
||||
@ -775,7 +775,7 @@ jobs:
|
||||
- name: Check out the repo
|
||||
uses: acryldata/sane-checkout-action@v3
|
||||
- name: Download Base Image
|
||||
uses: ishworkh/docker-image-artifact-download@v1
|
||||
uses: ishworkh/container-image-artifact-download@v2.0.0
|
||||
if: ${{ needs.setup.outputs.publish != 'true' && needs.setup.outputs.pr-publish != 'true' && needs.setup.outputs.ingestion_base_change == 'true' }}
|
||||
with:
|
||||
image: ${{ env.DATAHUB_INGESTION_BASE_IMAGE }}:${{ needs.setup.outputs.ingestion_base_change == 'true' && needs.setup.outputs.unique_tag || 'head' }}
|
||||
@ -836,7 +836,7 @@ jobs:
|
||||
if: ${{ needs.setup.outputs.ingestion_change == 'true' || needs.setup.outputs.publish == 'true' || needs.setup.outputs.pr-publish =='true' }}
|
||||
run: ./gradlew :metadata-ingestion:codegen
|
||||
- name: Download Base Image
|
||||
uses: ishworkh/docker-image-artifact-download@v1
|
||||
uses: ishworkh/container-image-artifact-download@v2.0.0
|
||||
if: ${{ needs.setup.outputs.publish != 'true' && needs.setup.outputs.pr-publish != 'true' && needs.setup.outputs.ingestion_base_change == 'true' }}
|
||||
with:
|
||||
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:
|
||||
- name: Checkout # adding checkout step just to make trivy upload happy
|
||||
uses: acryldata/sane-checkout-action@v3
|
||||
- name: Download image Slim Image
|
||||
uses: ishworkh/docker-image-artifact-download@v1
|
||||
uses: ishworkh/container-image-artifact-download@v2.0.0
|
||||
if: ${{ needs.datahub_ingestion_slim_build.outputs.needs_artifact_download == 'true' }}
|
||||
with:
|
||||
image: ${{ env.DATAHUB_INGESTION_IMAGE }}:${{ needs.datahub_ingestion_slim_build.outputs.tag }}
|
||||
@ -937,7 +937,7 @@ jobs:
|
||||
if: ${{ needs.setup.outputs.ingestion_change == 'true' || needs.setup.outputs.publish == 'true' || needs.setup.outputs.pr-publish == 'true' }}
|
||||
run: ./gradlew :metadata-ingestion:codegen
|
||||
- name: Download Base Image
|
||||
uses: ishworkh/docker-image-artifact-download@v1
|
||||
uses: ishworkh/container-image-artifact-download@v2.0.0
|
||||
if: ${{ needs.setup.outputs.publish != 'true' && needs.setup.outputs.pr-publish != 'true' && needs.setup.outputs.ingestion_base_change == 'true' }}
|
||||
with:
|
||||
image: ${{ env.DATAHUB_INGESTION_BASE_IMAGE }}:${{ needs.setup.outputs.ingestion_base_change == 'true' && needs.setup.outputs.unique_tag || 'head' }}
|
||||
@ -982,7 +982,7 @@ jobs:
|
||||
- name: Checkout # adding checkout step just to make trivy upload happy
|
||||
uses: acryldata/sane-checkout-action@v3
|
||||
- name: Download image Full Image
|
||||
uses: ishworkh/docker-image-artifact-download@v1
|
||||
uses: ishworkh/container-image-artifact-download@v2.0.0
|
||||
if: ${{ needs.datahub_ingestion_full_build.outputs.needs_artifact_download == 'true' }}
|
||||
with:
|
||||
image: ${{ env.DATAHUB_INGESTION_IMAGE }}:${{ needs.datahub_ingestion_full_build.outputs.tag }}
|
||||
@ -1079,47 +1079,47 @@ jobs:
|
||||
- name: Disk Check
|
||||
run: df -h . && docker images
|
||||
- name: Download GMS image
|
||||
uses: ishworkh/docker-image-artifact-download@v1
|
||||
uses: ishworkh/container-image-artifact-download@v2.0.0
|
||||
if: ${{ ( needs.setup.outputs.publish != 'true' && needs.setup.outputs.pr-publish != 'true' ) && needs.gms_build.result == 'success' }}
|
||||
with:
|
||||
image: ${{ env.DATAHUB_GMS_IMAGE }}:${{ needs.setup.outputs.unique_tag }}
|
||||
- name: Download Frontend image
|
||||
uses: ishworkh/docker-image-artifact-download@v1
|
||||
uses: ishworkh/container-image-artifact-download@v2.0.0
|
||||
if: ${{ ( needs.setup.outputs.publish != 'true' && needs.setup.outputs.pr-publish != 'true' ) && needs.frontend_build.result == 'success' }}
|
||||
with:
|
||||
image: ${{ env.DATAHUB_FRONTEND_IMAGE }}:${{ needs.setup.outputs.unique_tag }}
|
||||
- name: Download Kafka Setup image
|
||||
uses: ishworkh/docker-image-artifact-download@v1
|
||||
uses: ishworkh/container-image-artifact-download@v2.0.0
|
||||
if: ${{ ( needs.setup.outputs.publish != 'true' && needs.setup.outputs.pr-publish != 'true' ) && needs.kafka_setup_build.result == 'success' }}
|
||||
with:
|
||||
image: ${{ env.DATAHUB_KAFKA_SETUP_IMAGE }}:${{ needs.setup.outputs.unique_tag }}
|
||||
- name: Download Mysql Setup image
|
||||
uses: ishworkh/docker-image-artifact-download@v1
|
||||
uses: ishworkh/container-image-artifact-download@v2.0.0
|
||||
if: ${{ ( needs.setup.outputs.publish != 'true' && needs.setup.outputs.pr-publish != 'true' ) && needs.mysql_setup_build.result == 'success' }}
|
||||
with:
|
||||
image: ${{ env.DATAHUB_MYSQL_SETUP_IMAGE }}:${{ needs.setup.outputs.unique_tag }}
|
||||
- name: Download Elastic Setup image
|
||||
uses: ishworkh/docker-image-artifact-download@v1
|
||||
uses: ishworkh/container-image-artifact-download@v2.0.0
|
||||
if: ${{ ( needs.setup.outputs.publish != 'true' && needs.setup.outputs.pr-publish != 'true' ) && needs.elasticsearch_setup_build.result == 'success' }}
|
||||
with:
|
||||
image: ${{ env.DATAHUB_ELASTIC_SETUP_IMAGE }}:${{ needs.setup.outputs.unique_tag }}
|
||||
- name: Download MCE Consumer image
|
||||
uses: ishworkh/docker-image-artifact-download@v1
|
||||
uses: ishworkh/container-image-artifact-download@v2.0.0
|
||||
if: ${{ ( needs.setup.outputs.publish != 'true' && needs.setup.outputs.pr-publish != 'true' ) && needs.mce_consumer_build.result == 'success' }}
|
||||
with:
|
||||
image: ${{ env.DATAHUB_MCE_CONSUMER_IMAGE }}:${{ needs.setup.outputs.unique_tag }}
|
||||
- name: Download MAE Consumer image
|
||||
uses: ishworkh/docker-image-artifact-download@v1
|
||||
uses: ishworkh/container-image-artifact-download@v2.0.0
|
||||
if: ${{ ( needs.setup.outputs.publish != 'true' && needs.setup.outputs.pr-publish != 'true' ) && needs.mae_consumer_build.result == 'success' }}
|
||||
with:
|
||||
image: ${{ env.DATAHUB_MAE_CONSUMER_IMAGE }}:${{ needs.setup.outputs.unique_tag }}
|
||||
- name: Download upgrade image
|
||||
uses: ishworkh/docker-image-artifact-download@v1
|
||||
uses: ishworkh/container-image-artifact-download@v2.0.0
|
||||
if: ${{ ( needs.setup.outputs.publish != 'true' && needs.setup.outputs.pr-publish != 'true' ) && needs.datahub_upgrade_build.result == 'success' }}
|
||||
with:
|
||||
image: ${{ env.DATAHUB_UPGRADE_IMAGE }}:${{ needs.setup.outputs.unique_tag }}
|
||||
- name: Download datahub-ingestion-slim image
|
||||
uses: ishworkh/docker-image-artifact-download@v1
|
||||
uses: ishworkh/container-image-artifact-download@v2.0.0
|
||||
if: ${{ needs.datahub_ingestion_slim_build.outputs.needs_artifact_download == 'true' && needs.datahub_ingestion_slim_build.result == 'success' }}
|
||||
with:
|
||||
image: ${{ env.DATAHUB_INGESTION_IMAGE }}:${{ needs.datahub_ingestion_slim_build.outputs.tag }}
|
||||
|
||||
@ -6,12 +6,12 @@ ARG ALPINE_REPO_URL=http://dl-cdn.alpinelinux.org/alpine
|
||||
ARG GITHUB_REPO_URL=https://github.com
|
||||
ARG MAVEN_CENTRAL_REPO_URL=https://repo1.maven.org/maven2
|
||||
|
||||
FROM golang:1-alpine3.20 AS binary
|
||||
FROM golang:1-alpine3.21 AS binary
|
||||
|
||||
# Re-declaring arg from above to make it available in this stage (will inherit default value)
|
||||
ARG ALPINE_REPO_URL
|
||||
|
||||
ENV DOCKERIZE_VERSION=v0.6.1
|
||||
ENV DOCKERIZE_VERSION=v0.9.1
|
||||
WORKDIR /go/src/github.com/jwilder
|
||||
|
||||
# Optionally set corporate mirror for apk
|
||||
|
||||
@ -6,12 +6,12 @@ ARG ALPINE_REPO_URL=http://dl-cdn.alpinelinux.org/alpine
|
||||
ARG GITHUB_REPO_URL=https://github.com
|
||||
ARG MAVEN_CENTRAL_REPO_URL=https://repo1.maven.org/maven2
|
||||
|
||||
FROM golang:1-alpine3.20 AS binary
|
||||
FROM golang:1-alpine3.21 AS binary
|
||||
|
||||
# Re-declaring arg from above to make it available in this stage (will inherit default value)
|
||||
ARG ALPINE_REPO_URL
|
||||
|
||||
ENV DOCKERIZE_VERSION=v0.6.1
|
||||
ENV DOCKERIZE_VERSION=v0.9.1
|
||||
WORKDIR /go/src/github.com/jwilder
|
||||
|
||||
# Optionally set corporate mirror for apk
|
||||
|
||||
@ -6,12 +6,12 @@ ARG ALPINE_REPO_URL=http://dl-cdn.alpinelinux.org/alpine
|
||||
ARG GITHUB_REPO_URL=https://github.com
|
||||
ARG MAVEN_CENTRAL_REPO_URL=https://repo1.maven.org/maven2
|
||||
|
||||
FROM golang:1-alpine3.20 AS binary
|
||||
FROM golang:1-alpine3.21 AS binary
|
||||
|
||||
# Re-declaring arg from above to make it available in this stage (will inherit default value)
|
||||
ARG ALPINE_REPO_URL
|
||||
|
||||
ENV DOCKERIZE_VERSION=v0.6.1
|
||||
ENV DOCKERIZE_VERSION=v0.9.1
|
||||
WORKDIR /go/src/github.com/jwilder
|
||||
|
||||
# Optionally set corporate mirror for apk
|
||||
|
||||
@ -6,12 +6,12 @@ ARG ALPINE_REPO_URL=http://dl-cdn.alpinelinux.org/alpine
|
||||
ARG GITHUB_REPO_URL=https://github.com
|
||||
ARG MAVEN_CENTRAL_REPO_URL=https://repo1.maven.org/maven2
|
||||
|
||||
FROM golang:1-alpine3.20 AS binary
|
||||
FROM golang:1-alpine3.21 AS binary
|
||||
|
||||
# Re-declaring arg from above to make it available in this stage (will inherit default value)
|
||||
ARG ALPINE_REPO_URL
|
||||
|
||||
ENV DOCKERIZE_VERSION=v0.6.1
|
||||
ENV DOCKERIZE_VERSION=v0.9.1
|
||||
WORKDIR /go/src/github.com/jwilder
|
||||
|
||||
# Optionally set corporate mirror for apk
|
||||
|
||||
@ -6,11 +6,11 @@ ARG APP_ENV=prod
|
||||
# Defining custom repo urls for use in enterprise environments. Re-used between stages below.
|
||||
ARG ALPINE_REPO_URL=http://dl-cdn.alpinelinux.org/alpine
|
||||
|
||||
FROM golang:1-alpine3.20 AS binary
|
||||
FROM golang:1-alpine3.21 AS binary
|
||||
|
||||
ARG ALPINE_REPO_URL
|
||||
|
||||
ENV DOCKERIZE_VERSION=v0.6.1
|
||||
ENV DOCKERIZE_VERSION=v0.9.1
|
||||
WORKDIR /go/src/github.com/jwilder
|
||||
|
||||
# Optionally set corporate mirror for apk
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
# Defining custom repo urls for use in enterprise environments. Re-used between stages below.
|
||||
ARG ALPINE_REPO_URL=http://dl-cdn.alpinelinux.org/alpine
|
||||
|
||||
FROM golang:1-alpine3.20 AS binary
|
||||
FROM golang:1-alpine3.21 AS binary
|
||||
|
||||
ARG ALPINE_REPO_URL
|
||||
|
||||
ENV DOCKERIZE_VERSION=v0.6.1
|
||||
ENV DOCKERIZE_VERSION=v0.9.1
|
||||
WORKDIR /go/src/github.com/jwilder
|
||||
|
||||
# Optionally set corporate mirror for apk
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
# Defining custom repo urls for use in enterprise environments. Re-used between stages below.
|
||||
ARG ALPINE_REPO_URL=http://dl-cdn.alpinelinux.org/alpine
|
||||
|
||||
FROM golang:1-alpine3.20 AS binary
|
||||
FROM golang:1-alpine3.21 AS binary
|
||||
|
||||
ARG ALPINE_REPO_URL
|
||||
|
||||
ENV DOCKERIZE_VERSION=v0.6.1
|
||||
ENV DOCKERIZE_VERSION=v0.9.1
|
||||
WORKDIR /go/src/github.com/jwilder
|
||||
|
||||
# Optionally set corporate mirror for apk
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user