Skip to content

v0.1.0

v0.1.0 #1

Workflow file for this run

name: post-release
on:
release:
types: [published]
env:
REGISTRY: ghcr.io
REPOSITORY_NAME: ${{ github.repository }}
DANA_ORG: dana-team
jobs:
build-and-push-image:
name: Build and push image
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Log in to the Container registry
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push image
run: make docker-build docker-push IMG=${{ env.REGISTRY }}/${{ env.REPOSITORY_NAME }}:${GITHUB_REF##*/}