Skip to content

Deploy RC to DockerHub #16

Deploy RC to DockerHub

Deploy RC to DockerHub #16

Workflow file for this run

name: Deploy RC to DockerHub
on:
workflow_dispatch:
inputs:
version:
description: 'Version of Kpow'
required: true
manifest:
description: 'URL of Manifest'
required: true
jobs:
DeployRC:
runs-on: ubuntu-latest
name: Tag and update releases.edn
steps:
- uses: actions/checkout@v3
- name: Verify RC version input
run: |
./scripts/rc_release_check.sh ${{github.event.inputs.version}}
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Download and verify JAR(s)
run: |
./scripts/jar.sh "${{github.event.inputs.manifest}}"
-
# Add support for more platforms with QEMU (optional)
# https://github.com/docker/setup-qemu-action
name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Kpow (EE)
run: |
VERSION=${{github.event.inputs.version}}
IMAGE_ID=factorhouse/kpow-ee
IMAGE_TAG=$VERSION
./scripts/build_all.sh $VERSION $IMAGE_ID $IMAGE_TAG dockerfile/kpow/Dockerfile