Skip to content

chore(updating ci/cd): #59

chore(updating ci/cd):

chore(updating ci/cd): #59

Workflow file for this run

name: Deploy
on:
push:
tags:
- "*.*"
jobs:
deploy:
runs-on: ubuntu-latest
steps:
#----------------------------------------------
# check-out repo
#----------------------------------------------
- name: Checkout
uses: actions/checkout@v4
#----------------------------------------------
# fetch github metadata
#----------------------------------------------
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{github.repository}}
#----------------------------------------------
# setup extra builder
#----------------------------------------------
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
#----------------------------------------------
# Login to github container registry
#----------------------------------------------
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
#----------------------------------------------
# Push to registry
#----------------------------------------------
- name: Publish to Registry
uses: docker/build-push-action@v5
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}