Skip to content

Commit

Permalink
Fixing filename issue
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Nov 17, 2024
1 parent e9e400c commit 1eb33ce
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build-base-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ name: Build Base Image
on:
push:
paths:
- 'Dockerfile.base'
- 'Base.Dockerfile'
- 'requirements.txt'
- 'package.json'
- 'package-lock.json'
- '.github/workflows/build-base-image.yml'

concurrency:
group: deployment
Expand Down
13 changes: 10 additions & 3 deletions .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ on:
- completed

push:
paths:
- '.github/workflows/build-image.yml'
paths-ignore:
- '.github/**'
- 'seeds/**'
Expand Down Expand Up @@ -50,6 +48,14 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Set environment variables from .env-prod
id: env-vars
run: |
set -a
source .env-prod
set +a
echo "::set-output name=env_vars::$(cat .env-prod | grep -v '^#' | xargs)"
- name: Authenticate with GitHub Container Registry
uses: docker/login-action@v2
with:
Expand All @@ -62,4 +68,5 @@ jobs:
with:
context: .
push: true
tags: ghcr.io/${{ github.repository }}/${{ env.SERVICE }}:${{ github.sha }}
tags: ghcr.io/${{ github.repository }}/${{ env.SERVICE }}:${{ github.sha }}
build-args: ${{ steps.env-vars.outputs.env_vars }}

0 comments on commit 1eb33ce

Please sign in to comment.