Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

EVEREST-107 0.0.13 and 0.0.14 version of everest-operator #74

EVEREST-107 0.0.13 and 0.0.14 version of everest-operator

EVEREST-107 0.0.13 and 0.0.14 version of everest-operator #74

Workflow file for this run

name: Build and Push image
on:
push:
branches: [ main ]
tags:
- v*
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v3
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: ghcr.io/percona/dbaas-catalog
tags: |
type=ref,event=branch
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push image
uses: docker/build-push-action@v3
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
file: dbaas-catalog.Dockerfile