Skip to content

Commit

Permalink
Add build args to GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewlod committed Mar 29, 2024
1 parent f01608b commit 0199ecf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Test and Build

env:
IMAGE_NAME: andrewlod767/authentication-api
PROD_ENDPOINT: ""
SV_PORT: "80"

on:
push:
Expand Down Expand Up @@ -38,3 +40,6 @@ jobs:
load: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
PROD_ENDPOINT=${{ env.PROD_ENDPOINT }}
SV_PORT=${{ env.SV_PORT }}

0 comments on commit 0199ecf

Please sign in to comment.