Skip to content

fix workflow

fix workflow #2

Workflow file for this run

name: Release container definition
on:
push:
# tags:
# - "v*"
jobs:
tests:
uses: ./.github/workflows/test.yaml
release-image:
name: Release ndc-rest image
runs-on: ubuntu-20.04
needs: [tests]
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ghcr.io/hasura
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
push: false
tags: ghcr.io/hasura/ndc-rest:${{ env.GITHUB_REF_NAME }}