Skip to content

chore(deps): update dependency @swc/core to v1.10.8 (#91) #104

chore(deps): update dependency @swc/core to v1.10.8 (#91)

chore(deps): update dependency @swc/core to v1.10.8 (#91) #104

name: Continuous Delivery
on:
workflow_dispatch:
push:
branches:
- main
paths:
- 'src/**'
- 'Dockerfile'
- '.github/workflows/continuous-delivery.yml'
- 'package.json'
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
LATEST_TAG: ghcr.io/${{ github.repository }}:latest
HASH_TAG: ghcr.io/${{ github.repository }}:${{ github.sha }}
jobs:
build:
name: Publish WolfStar latest image to container registry
runs-on: ubuntu-latest
steps:
- name: Checkout repository
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/[email protected]
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Build and push by digest
id: build
uses: docker/build-push-action@v6
with:
labels: ${{ steps.meta.outputs.labels }}
context: .
platforms: linux/amd64,linux/arm64
outputs: type=image,name=${{ env.IMAGE_NAME }},push=true
tags: |
${{ env.LATEST_TAG }}
${{ env.HASH_TAG }}