Skip to content

👷 feat(CI): add deploy pipeline and depend it to … #1

👷 feat(CI): add deploy pipeline and depend it to …

👷 feat(CI): add deploy pipeline and depend it to … #1

Workflow file for this run

---
name: Build
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
if: github.event_name != 'pull_request'
steps:
- uses: actions/checkout@v3
- uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build Docker image
run: docker buildx build --platform linux/amd64 -t databurst/data-engineering-wiki:latest .
- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Push image to Docker Hub
run: docker push databurst/data-engineering-wiki:latest