Skip to content

feat: added pages language group #20

feat: added pages language group

feat: added pages language group #20

Workflow file for this run

name: Docker Image for dotcom
on:
push:
branches: ['next']
env:
REGISTRY: ghcr.io
ACTOR: schaechinger
IMAGE_NAME: ${{ github.repository }}
GIT_SHA: ${{ github.sha }}
jobs:
build-and-push-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
- run: npm ci
- run: npm run build
- uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ env.ACTOR }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/metadata-action@v4
id: meta
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- uses: docker/build-push-action@v3
with:
context: ./
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
BUILD_HASH=${{ env.GIT_SHA }}