Skip to content

Merge pull request #823 from basedosdados/feat/app_chatbot #439

Merge pull request #823 from basedosdados/feat/app_chatbot

Merge pull request #823 from basedosdados/feat/app_chatbot #439

Workflow file for this run

---
name: Release Image (Development)
on:
push:
branches:
- dev
jobs:
release-docker:
name: Release Image
runs-on: ubuntu-latest
steps:
# this step is needed because the chatbot submodule is private
- name: Set up deploy keys for submodules
uses: webfactory/ssh-agent@v0.9.1
with:
ssh-private-key: ${{ secrets.CHATBOT_SUBMODULE_DEPLOY_KEY }}
- name: Checkout
uses: actions/checkout@v4
with:
ref: dev
submodules: recursive
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push PR image
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}:development
labels: |
org.opencontainers.image.source=${{ github.event.repository.html_url }}
org.opencontainers.image.revision=${{ github.sha }}
build-args: |
BUILDKIT_INLINE_CACHE=1