Add versions 3.9.29, 3.10.25, 3.11.20, 3.12.2 (#5) #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
####################################################### | |
# CI Build pipeline YAML for Windows 2022 based builds | |
####################################################### | |
name: ci-windows-latest | |
on: | |
push: | |
branches: | |
- main | |
- master | |
- releases/** # in future to release from release branch | |
paths: | |
- rabbitmq/windows/** # build only where an update to windows folder | |
- .github/workflows/ci-windows-latest.yaml | |
jobs: | |
# TO-DO: Could simplify steps further, but probably in next iteration | |
# For now a quick approach | |
build-docker-ltsc2022: | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Login to DockerHub | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
# Build and Push 3.12.2 (latest) | |
- name: Build the Docker image 3.12.2 | |
run: | | |
docker build . --file ./rabbitmq/windows/3.12.2/Dockerfile --tag micdenny/rabbitmq-windows:latest --build-arg SERVER_VERSION=ltsc2022 | |
- name: Publish to DockerHub 3.12.2 | |
run: | | |
docker tag micdenny/rabbitmq-windows:latest micdenny/rabbitmq-windows:3.12.2 | |
docker tag micdenny/rabbitmq-windows:latest micdenny/rabbitmq-windows:ltsc2022-latest | |
docker tag micdenny/rabbitmq-windows:latest micdenny/rabbitmq-windows:3.12.2-servercore-ltsc2022 | |
docker push micdenny/rabbitmq-windows:latest | |
docker push micdenny/rabbitmq-windows:ltsc2022-latest | |
docker push micdenny/rabbitmq-windows:3.12.2 | |
docker push micdenny/rabbitmq-windows:3.12.2-servercore-ltsc2022 | |
# Build and Push 3.11.20 | |
- name: Build the Docker image 3.11.20 | |
run: | | |
docker build . --file ./rabbitmq/windows/3.11.20/Dockerfile --tag micdenny/rabbitmq-windows:3.11.20 --build-arg SERVER_VERSION=ltsc2022 | |
- name: Publish to DockerHub 3.11.20 | |
run: | | |
docker tag micdenny/rabbitmq-windows:3.11.20 micdenny/rabbitmq-windows:3.11.20-servercore-ltsc2022 | |
docker push micdenny/rabbitmq-windows:3.11.20 | |
docker push micdenny/rabbitmq-windows:3.11.20-servercore-ltsc2022 | |
# Build and Push 3.11.2 | |
- name: Build the Docker image 3.11.2 | |
run: | | |
docker build . --file ./rabbitmq/windows/3.11.2/Dockerfile --tag micdenny/rabbitmq-windows:3.11.2 --build-arg SERVER_VERSION=ltsc2022 | |
- name: Publish to DockerHub 3.11.2 | |
run: | | |
docker tag micdenny/rabbitmq-windows:3.11.2 micdenny/rabbitmq-windows:3.11.2-servercore-ltsc2022 | |
docker push micdenny/rabbitmq-windows:3.11.2 | |
docker push micdenny/rabbitmq-windows:3.11.2-servercore-ltsc2022 | |
# Build and Push 3.11.0 | |
- name: Build the Docker image 3.11.0 | |
run: | | |
docker build . --file ./rabbitmq/windows/3.11.0/Dockerfile --tag micdenny/rabbitmq-windows:3.11.0 --build-arg SERVER_VERSION=ltsc2022 | |
- name: Publish to DockerHub 3.11.0 | |
run: | | |
docker tag micdenny/rabbitmq-windows:3.11.0 micdenny/rabbitmq-windows:3.11.0-servercore-ltsc2022 | |
docker push micdenny/rabbitmq-windows:3.11.0 | |
docker push micdenny/rabbitmq-windows:3.11.0-servercore-ltsc2022 | |
# Build and Push 3.10.25 | |
- name: Build the Docker image 3.10.25 | |
run: | | |
docker build . --file ./rabbitmq/windows/3.10.25/Dockerfile --tag micdenny/rabbitmq-windows:3.10.25 --build-arg SERVER_VERSION=ltsc2022 | |
- name: Publish to DockerHub 3.10.25 | |
run: | | |
docker tag micdenny/rabbitmq-windows:3.10.25 micdenny/rabbitmq-windows:3.10.25-servercore-ltsc2022 | |
docker push micdenny/rabbitmq-windows:3.10.25 | |
docker push micdenny/rabbitmq-windows:3.10.25-servercore-ltsc2022 | |
# Build and Push 3.10.10 | |
- name: Build the Docker image 3.10.10 | |
run: | | |
docker build . --file ./rabbitmq/windows/3.10.10/Dockerfile --tag micdenny/rabbitmq-windows:3.10.10 --build-arg SERVER_VERSION=ltsc2022 | |
- name: Publish to DockerHub 3.10.10 | |
run: | | |
docker tag micdenny/rabbitmq-windows:3.10.10 micdenny/rabbitmq-windows:3.10.10-servercore-ltsc2022 | |
docker push micdenny/rabbitmq-windows:3.10.10 | |
docker push micdenny/rabbitmq-windows:3.10.10-servercore-ltsc2022 | |
# Build and Push 3.10.7 | |
- name: Build the Docker image 3.10.7 | |
run: | | |
docker build . --file ./rabbitmq/windows/3.10.7/Dockerfile --tag micdenny/rabbitmq-windows:3.10.7 --build-arg SERVER_VERSION=ltsc2022 | |
- name: Publish to DockerHub 3.10.7 | |
run: | | |
docker tag micdenny/rabbitmq-windows:3.10.7 micdenny/rabbitmq-windows:3.10.7-servercore-ltsc2022 | |
docker push micdenny/rabbitmq-windows:3.10.7 | |
docker push micdenny/rabbitmq-windows:3.10.7-servercore-ltsc2022 | |
# Build and Push 3.9.29 | |
- name: Build the Docker image 3.9.29 | |
run: | | |
docker build . --file ./rabbitmq/windows/3.9.29/Dockerfile --tag micdenny/rabbitmq-windows:3.9.29 --build-arg SERVER_VERSION=ltsc2022 | |
- name: Publish to DockerHub 3.9.29 | |
run: | | |
docker tag micdenny/rabbitmq-windows:3.9.29 micdenny/rabbitmq-windows:3.9.29-servercore-ltsc2022 | |
docker push micdenny/rabbitmq-windows:3.9.29 | |
docker push micdenny/rabbitmq-windows:3.9.29-servercore-ltsc2022 | |
# Build and Push 3.9.24 | |
- name: Build the Docker image 3.9.24 | |
run: | | |
docker build . --file ./rabbitmq/windows/3.9.24/Dockerfile --tag micdenny/rabbitmq-windows:3.9.24 --build-arg SERVER_VERSION=ltsc2022 | |
- name: Publish to DockerHub 3.9.24 | |
run: | | |
docker tag micdenny/rabbitmq-windows:3.9.24 micdenny/rabbitmq-windows:3.9.24-servercore-ltsc2022 | |
docker push micdenny/rabbitmq-windows:3.9.24 | |
docker push micdenny/rabbitmq-windows:3.9.24-servercore-ltsc2022 | |
# Build and Push 3.9.22 | |
- name: Build the Docker image 3.9.22 | |
run: | | |
docker build . --file ./rabbitmq/windows/3.9.22/Dockerfile --tag micdenny/rabbitmq-windows:3.9.22 --build-arg SERVER_VERSION=ltsc2022 | |
- name: Publish to DockerHub 3.9.22 | |
run: | | |
docker tag micdenny/rabbitmq-windows:3.9.22 micdenny/rabbitmq-windows:3.9.22-servercore-ltsc2022 | |
docker push micdenny/rabbitmq-windows:3.9.22 | |
docker push micdenny/rabbitmq-windows:3.9.22-servercore-ltsc2022 | |
# Build and Push 3.8.35 | |
- name: Build the Docker image 3.8.35 | |
run: | | |
docker build . --file ./rabbitmq/windows/3.8.35/Dockerfile --tag micdenny/rabbitmq-windows:3.8.35 --build-arg SERVER_VERSION=ltsc2022 | |
- name: Publish to DockerHub 3.8.35 | |
run: | | |
docker tag micdenny/rabbitmq-windows:3.8.35 micdenny/rabbitmq-windows:3.8.35-servercore-ltsc2022 | |
docker push micdenny/rabbitmq-windows:3.8.35 | |
docker push micdenny/rabbitmq-windows:3.8.35-servercore-ltsc2022 | |
# Build and Push 3.8.16 | |
- name: Build the Docker image 3.8.16 | |
run: | | |
docker build . --file ./rabbitmq/windows/3.8.16/Dockerfile --tag micdenny/rabbitmq-windows:3.8.16 --build-arg SERVER_VERSION=ltsc2022 | |
- name: Publish to DockerHub 3.8.16 | |
run: | | |
docker tag micdenny/rabbitmq-windows:3.8.16 micdenny/rabbitmq-windows:3.8.16-servercore-ltsc2022 | |
docker push micdenny/rabbitmq-windows:3.8.16 | |
docker push micdenny/rabbitmq-windows:3.8.16-servercore-ltsc2022 | |
# Build and Push 3.6.9 | |
- name: Build the Docker image 3.6.9 | |
run: | | |
docker build . --file ./rabbitmq/windows/3.6.9/Dockerfile --tag micdenny/rabbitmq-windows:3.6.9 --build-arg SERVER_VERSION=ltsc2022 | |
- name: Publish to DockerHub 3.6.9 | |
run: | | |
docker tag micdenny/rabbitmq-windows:3.6.9 micdenny/rabbitmq-windows:3.6.9-servercore-ltsc2022 | |
docker push micdenny/rabbitmq-windows:3.6.9 | |
docker push micdenny/rabbitmq-windows:3.6.9-servercore-ltsc2022 | |
# Build and Push 3.6.12 | |
- name: Build the Docker image 3.6.12 | |
run: | | |
docker build . --file ./rabbitmq/windows/3.6.12/Dockerfile --tag micdenny/rabbitmq-windows:3.6.12 --build-arg SERVER_VERSION=ltsc2022 | |
- name: Publish to DockerHub 3.6.12 | |
run: | | |
docker tag micdenny/rabbitmq-windows:3.6.12 micdenny/rabbitmq-windows:3.6.12-servercore-ltsc2022 | |
docker push micdenny/rabbitmq-windows:3.6.12 | |
docker push micdenny/rabbitmq-windows:3.6.12-servercore-ltsc2022 | |