Skip to content

fix(techmonth): build failed #5

fix(techmonth): build failed

fix(techmonth): build failed #5

Workflow file for this run

name: Build Docker Image
on:
workflow_dispatch:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build Docker image
run: docker build -t ghcr.io/${{ github.repository }}:latest --build-arg DIRECTUS_URL=${{secrets.DIRECTUS_URL}} .
- name: Push Docker image to GitHub Container Registry
run: docker push ghcr.io/${{ github.repository }}:latest