Changing build context of docker to match docker dir

This commit is contained in:
Collin Duncan 2023-05-26 16:50:50 -05:00
parent e50356fbac
commit 37bd1fea52
No known key found for this signature in database

View file

@ -7,6 +7,7 @@ jobs:
build-image: build-image:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2 uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub - name: Login to Docker Hub
@ -18,8 +19,7 @@ jobs:
- name: Build docker image - name: Build docker image
uses: docker/build-push-action@v4 uses: docker/build-push-action@v4
with: with:
context: . context: ./docker/server
file: docker/server/Dockerfile
push: true push: true
tags: ghcr.io/cgduncan7/autobaan:latest tags: ghcr.io/cgduncan7/autobaan:latest
cache-from: type=gha cache-from: type=gha