Skip to content

Bump eslint from 9.33.0 to 9.34.0 in /landing-page (#271) #1

Bump eslint from 9.33.0 to 9.34.0 in /landing-page (#271)

Bump eslint from 9.33.0 to 9.34.0 in /landing-page (#271) #1

name: Publish Dashboard image to GHCR and Deploy to K8s
on:
push:
branches: [main]
paths:
- 'dashboard/**'
release:
types: [published]
workflow_dispatch:
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository_owner }}/exosphere-dashboard
SHA_TAG: ${{ github.sha }}
jobs:
publish-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
outputs:
tags: ${{ steps.meta.outputs.tags }}
json: ${{ steps.meta.outputs.json }}
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
- name: Log in to GHCR
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Generate tags & labels
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=raw,value=latest
type=sha,format=short
type=ref,event=tag # v1.2.3 → v1.2.3
- name: Build and push
uses: docker/build-push-action@v5
with:
context: ./dashboard
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}