Skip to content

Delete .github/workflows/deploy-website.yml #6

Delete .github/workflows/deploy-website.yml

Delete .github/workflows/deploy-website.yml #6

name: Build and Publish Docker Image
on:
workflow_dispatch:
inputs:
branch:
description: 'Branch name to publish'
required: true
push:
branches:
- develop
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}:${{ github.ref_name }}
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: ${{ env.IMAGE_NAME }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io
dockerfile: Dockerfile.production