Skip to content

fix: Domain auf externe URL umstellen (.tech) #16

fix: Domain auf externe URL umstellen (.tech)

fix: Domain auf externe URL umstellen (.tech) #16

Workflow file for this run

name: Build and Push
on:
push:
branches:
- main
env:
REGISTRY: ghcr.io
jobs:
build:
name: Build container image
runs-on: mayflower-k8s-runners
permissions:
contents: read
packages: write
env:
IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/ui-testing-tool
steps:
- uses: actions/checkout@v4
- name: Lowercase image name
id: image
run: echo "name=${IMAGE_NAME,,}" >> "$GITHUB_OUTPUT"
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ steps.image.outputs.name }}
tags: |
type=sha,format=long,prefix=
type=raw,value=latest,enable={{is_default_branch}}
- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha,scope=ui-testing-tool
cache-to: type=gha,scope=ui-testing-tool,mode=max