Skip to content

Kyma configmanager config #5

Kyma configmanager config

Kyma configmanager config #5

Workflow file for this run

name: Create and publish Docker image for clone to ghcr.io
on:
release:
types: ['published']
env:
REGISTRY: ghcr.io
IMAGE_NAME: SAP/clone
jobs:
build-and-push-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
attestations: write
id-token: write
environment: ghcr:cloud-active-defense
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Log in to the Container registry
uses: docker/[email protected]
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata of clone
id: meta
uses: docker/[email protected]
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Build and push Docker image of clone
id: push
uses: docker/[email protected]
with:
context: ./clone
push: true
file: ./clone/Dockerfile
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}