Skip to content

Merge pull request #60 from burmanm/fix_release_scripts #14

Merge pull request #60 from burmanm/fix_release_scripts

Merge pull request #60 from burmanm/fix_release_scripts #14

Workflow file for this run

name: Docker Release
on:
push:
tags:
- 'v*.*.*'
jobs:
release_config_builder:
name: Release Cass Config Builder
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Login to DockerHub
if: ${{ !env.ACT }}
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_PASS }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Cache Docker layers
uses: actions/cache@v4
id: cache
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Publish to Dockerhub
run: |
export GITHUB_REPO_URL="https://github.com/${{ github.repository }}"
./scripts/push-release.sh