Skip to content

fix(webhooks): 🐛 Formatting, logging and url checks #140

fix(webhooks): 🐛 Formatting, logging and url checks

fix(webhooks): 🐛 Formatting, logging and url checks #140

Workflow file for this run

name: Docker Publish
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Docker login
run: |
echo "${{ github.token }}" | docker login https://ghcr.io -u ${GITHUB_ACTOR} --password-stdin
- name: Build the Docker image
run: docker build . --file Dockerfile --tag ghcr.io/buildtheearth/website-node-backend:$(git rev-parse --short HEAD) --tag ghcr.io/buildtheearth/website-node-backend:latest
- name: Docker push tag
run: docker push ghcr.io/buildtheearth/website-node-backend:$(git rev-parse --short HEAD)
- name: Docker push latest
run: docker push ghcr.io/buildtheearth/website-node-backend:latest