Skip to content

Update release.yml

Update release.yml #1

Workflow file for this run

---
name: Release
on:
push:
tags:
- '*'
branches:
- main
- sameerdhoot-patch-1
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build and publish the container image for ${{ github.repository }}:${{ github.ref_name }}
uses: macbre/push-to-ghcr@v9
with:
image_name: ${{ github.repository }}
github_token: ${{ secrets.GITHUB_TOKEN }}
dockerfile: Dockerfile
image_tag: ${{ github.ref_name }}
- name: Build and publish the container image for ${{ github.repository }}:latest
uses: macbre/push-to-ghcr@v9
with:
image_name: ${{ github.repository }}
github_token: ${{ secrets.REPO_WOLWEB_CI }}
dockerfile: Dockerfile
image_tag: latest