Skip to content

re(web): refactor pki and migrate to swr #59

re(web): refactor pki and migrate to swr

re(web): refactor pki and migrate to swr #59

Workflow file for this run

name: Publish Docker image
on:
push:
branches:
- master
- feat-*
- fix-*
- re-*
tags:
- "v*.*.*"
workflow_dispatch:
jobs:
build:
permissions:
packages: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: login to ghcr.io
uses: docker/login-action@v3.0.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: populate docker meta
id: docker-meta
uses: docker/metadata-action@v5.5.0
with:
images: |
ghcr.io/${{ github.repository }}
tags: |
type=schedule
type=ref,event=branch
type=ref,event=tag
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=sha
type=sha,format=long
- name: setup qemu
uses: docker/setup-qemu-action@v3.0.0
- name: setup docker buildx
uses: docker/setup-buildx-action@v3.0.0
- name: build and push
uses: docker/build-push-action@v5.1.0
with:
context: "."
push: true
tags: ${{ steps.docker-meta.outputs.tags }}
labels: ${{ steps.docker-meta.outputs.labels }}
platforms: linux/amd64