Skip to content

v1.0.0 Release Candidate 2 #10

v1.0.0 Release Candidate 2

v1.0.0 Release Candidate 2 #10

Workflow file for this run

on:
release:
types: [published]
jobs:
on-release:
name: Re-tag latest
runs-on: ubuntu-latest
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Retag the image
run: |
VERSION=${GITHUB_REF#refs/*/}
docker buildx imagetools create clockworklabs/spacetimedb:$VERSION --tag clockworklabs/spacetimedb:latest