Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ZoutigeWolf committed Jan 5, 2025
2 parents d84598f + 703c7e6 commit 7612d7a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/docker-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ jobs:
build:
runs-on: ubuntu-latest

defaults:
run:
working-directory: "./AH-UN Schedule API"

steps:
- uses: actions/checkout@v4

Expand All @@ -23,12 +19,16 @@ jobs:
registry: ${{ secrets.REGISTRY_URL }}
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build and push to local registry
uses: docker/build-push-action@v6
with:
push: true
file: "AH-UN Schedule API/Dockerfile"
context: "AH-UN Schedule API"
platforms: linux/amd64
tags: ${{ secrets.REGISTRY_URL }}/ah-un-schedule:latest

- name: Restart docker container
Expand Down

0 comments on commit 7612d7a

Please sign in to comment.