add dockerfile for dsnexec and documentation #402
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and push :main image | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Log in to GHCR | |
uses: docker/login-action@v1 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build Image | |
env: | |
REGISTRY: ghcr.io/${{ github.repository_owner }} | |
run: | | |
echo 'db-controller-namespace' > .id | |
make docker-build | |
make docker-build-dbproxy | |
- name: Push to GHCR | |
env: | |
REGISTRY: ghcr.io/${{ github.repository_owner }} | |
run: | | |
make docker-push | |
make docker-push-dbproxy | |
- uses: act10ns/slack@v1 | |
with: | |
status: ${{ job.status }} | |
steps: ${{ toJson(steps) }} | |
channel: '#db-controller' | |
if: failure() |