Skip to content

Merge pull request #6 from dfinity/dependabot/cargo/rollout-dashboard… #6

Merge pull request #6 from dfinity/dependabot/cargo/rollout-dashboard…

Merge pull request #6 from dfinity/dependabot/cargo/rollout-dashboard… #6

name: Rollout dashboard
on:
push:
branches:
- main
paths:
- rollout-dashboard/**
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build-rollout-dashboard-container:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/metadata-action@v5
id: metadata
with:
images: ghcr.io/${{ github.repository }}/rollout-dashboard
tags: |
type=schedule
type=ref,event=branch
type=ref,event=tag
type=ref,event=pr
type=sha,format=long
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: int128/kaniko-action@v1
name: Create rollout-dashboard container
with:
push: true
tags: ${{ steps.metadata.outputs.tags }}
labels: ${{ steps.metadata.outputs.labels }}
cache: false
cache-repository: ghcr.io/${{ github.repository }}/cache
context: rollout-dashboard