Skip to content

chore(main): release 2.2.0 (#232) #30

chore(main): release 2.2.0 (#232)

chore(main): release 2.2.0 (#232) #30

name: Publish Docker Image
on:
push:
branches:
- "main"
tags:
- "v*"
jobs:
docker:
name: Push Docker image
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to the Github Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker Metadata
id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/Lilypad-Tech/resource-provider
- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
context: .
file: ./docker/resource-provider/Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}