Skip to content

Bump dotnet/sdk from 8.0.401-1-bookworm-slim to 8.0.403-bookworm-slim in /SkredvarselGarminWeb in the docker-dependencies group across 1 directory #280

Bump dotnet/sdk from 8.0.401-1-bookworm-slim to 8.0.403-bookworm-slim in /SkredvarselGarminWeb in the docker-dependencies group across 1 directory

Bump dotnet/sdk from 8.0.401-1-bookworm-slim to 8.0.403-bookworm-slim in /SkredvarselGarminWeb in the docker-dependencies group across 1 directory #280

Workflow file for this run

name: Web CI
on:
push:
branches:
- main
pull_request:
paths:
- SkredvarselGarminWeb/**
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build-and-push-web-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
defaults:
run:
working-directory: ./SkredvarselGarminWeb
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
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 Docker image
uses: docker/build-push-action@v6
with:
context: SkredvarselGarminWeb
push: false
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max