Skip to content

Merge pull request #50 from burmanm/ubi8_base #10

Merge pull request #50 from burmanm/ubi8_base

Merge pull request #50 from burmanm/ubi8_base #10

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@v2
with:
submodules: true
- name: Login to DockerHub
run: echo "${{ secrets.DOCKERHUB_PASS }}" | docker login -u "${{ secrets.DOCKERHUB_USER }}" --password-stdin
- name: Setup Buildx
id: buildx
uses: crazy-max/ghaction-docker-buildx@v3
- name: Cache Docker layers
uses: actions/cache@v2
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