Skip to content

Feature/Add tenant check (#9) #8

Feature/Add tenant check (#9)

Feature/Add tenant check (#9) #8

Workflow file for this run

# purpose: run Continuous Delivery / Packaging (package)
# variables: []
# secrets: [ DOCKERHUB_USERNAME, DOCKERHUB_TOKEN ]
name: PKG
on:
push:
branches: ["main"]
# tags: [ 'v*.*.*' ]
workflow_dispatch: {}
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Checkout workflow parts
uses: actions/checkout@v4
with:
repository: devpro/github-workflow-parts
ref: main
path: workflow-parts
- name: Build and push a new container image
uses: ./workflow-parts/docker/build-push
with:
container_registry: docker.io
container_username: ${{ secrets.DOCKERHUB_USERNAME }}
container_password: ${{ secrets.DOCKERHUB_TOKEN }}
docker_file: 'src/WebApi/Dockerfile'
image_tag: 1.1.${{ github.run_id }}
image_path: 'docker.io/devprofr'
image_name: terraform-backend-mongodb
create_latest: ${{ github.ref_name == 'main' }}