Skip to content

Update non-major

Update non-major #162

Workflow file for this run

name: Publish docker image
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GHCR_TOKEN }}
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
tags: |
type=sha,format=long,prefix=
images: |
ghcr.io/dfoxg/kratos-admin-ui
- name: Publish Docker images
uses: docker/build-push-action@v6
with:
context: ./kratos-admin-ui
push: true
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}