Skip to content

v2: fix container and backport CI #65

v2: fix container and backport CI

v2: fix container and backport CI #65

Workflow file for this run

name: container
on:
push:
branches: [v2]
workflow_dispatch:
env:
REGISTRY: ghcr.io
IMAGE_NAME: kcctdensan/densan-web
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
subbmodule: true
- uses: docker/metadata-action@v5
id: meta
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm/v7
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max