Skip to content

Commit

Permalink
fix: updating docker context
Browse files Browse the repository at this point in the history
  • Loading branch information
aacevski committed Jan 25, 2025
1 parent 9ae5b32 commit 0bb17b5
Showing 1 changed file with 6 additions and 18 deletions.
24 changes: 6 additions & 18 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,17 @@ on:
- main

jobs:
build-and-push-docker:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
- name: Checkout code
uses: actions/checkout@v3

- name: Log in to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

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

- name: List files in apps/web
run: ls -l apps/web

- name: Build and push web Docker image
uses: docker/build-push-action@v4
with:
context: ./apps/web
context: .
dockerfile: ./apps/web/Dockerfile
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/web:latest
Expand All @@ -38,7 +25,8 @@ jobs:
- name: Build and push api Docker image
uses: docker/build-push-action@v4
with:
context: ./apps/api
context: .
dockerfile: ./apps/api/Dockerfile
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/api:latest
Expand Down

0 comments on commit 0bb17b5

Please sign in to comment.