Skip to content

Commit

Permalink
feat: upgrade NiFi base image (#583)
Browse files Browse the repository at this point in the history
  • Loading branch information
jobulcke authored Apr 10, 2024
1 parent 593f54c commit 6a9baa3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/0.build-base-nifi-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@ on:
workflow_dispatch:

env:
BASE_IMAGE_NAME: openjdk
BASE_IMAGE_TAG: 18-ea-bullseye
BASE_IMAGE_NAME: amazoncorretto
BASE_IMAGE_TAG: 21-alpine-jdk
NIFI_VERSION: 1.20.0
DISTRO_PATH: 1.20.0
NIFI_DOCKER_IMAGE_NAME: ldes/nifi
NIFI_DOCKER_IMAGE_VERSION: 1.20.0-jdk18
NIFI_DOCKER_IMAGE_VERSION: 1.20.0-jdk21

jobs:
job-build-push-docker-nifi:
name: Build and push VSDS NiFi docker image
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
Expand All @@ -27,13 +27,13 @@ jobs:
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build NiFi JDK18 Docker image
- name: Build NiFi JDK21 Docker image
run: |
echo ENVIRONMENT
echo BASE_IMAGE_NAME: ${BASE_IMAGE_NAME}
echo BASE_IMAGE_TAG: ${BASE_IMAGE_TAG}
echo NIFI_VERSION: ${NIFI_VERSION}
echo TARGET_IMAGE_TAG: ${NIFI_VERSION}-jdk18
echo TARGET_IMAGE_TAG: ${NIFI_VERSION}-jdk21
echo NIFI_DOCKER_IMAGE_NAME: ${NIFI_DOCKER_IMAGE_NAME}
echo NIFI_DOCKER_IMAGE_VERSION: ${NIFI_DOCKER_IMAGE_VERSION}
curl -L https://github.com/apache/nifi/archive/refs/tags/rel/nifi-${NIFI_VERSION}.tar.gz | tar -zxv --strip-components=2 nifi-rel-nifi-${NIFI_VERSION}/nifi-docker/dockerhub/
Expand Down

0 comments on commit 6a9baa3

Please sign in to comment.