fix: update Docker image context and tags in deploy workflow #45
6
.github/workflows/deploy.yml
vendored
6
.github/workflows/deploy.yml
vendored
@@ -2,7 +2,7 @@ name: Build Docker images
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: ["main"]
|
branches: ["master"]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-push-dockerfile-image:
|
build-and-push-dockerfile-image:
|
||||||
@@ -21,10 +21,10 @@ jobs:
|
|||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
context: .
|
context: ./apps/web
|
||||||
file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
push: true
|
push: true
|
||||||
# Make sure to replace with your own namespace and repository
|
# Make sure to replace with your own namespace and repository
|
||||||
tags: |
|
tags: |
|
||||||
namespace/example:latest
|
killercf/sgc:latest
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
Reference in New Issue
Block a user