Skip to content

Commit

Permalink
Set target to default
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnMwashuma committed Apr 9, 2024
1 parent a717647 commit 18474be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-image-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ on:
tagDockerTargetName:
description: "Docker Target"
required: true
default: 'production'
default: 'default'
branchDockerTargetName:
description: "Docker Target"
required: true
default: 'dev'
default: 'default'
jobs:
main:
runs-on: ubuntu-20.04
Expand Down
9 changes: 1 addition & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,7 @@ WORKDIR /srv/app

COPY . .

FROM base as production
RUN go build -o ./bin/akuko-temporal-go-tooling
WORKDIR /srv/app/healthcheck
RUN go build -o ../bin/healthcheck
WORKDIR /srv/app
ENTRYPOINT ["./bin/akuko-temporal-go-tooling"]

FROM base as dev
FROM base as default
RUN go build -o ./bin/akuko-temporal-go-tooling
WORKDIR /srv/app/healthcheck
RUN go build -o ../bin/healthcheck
Expand Down

0 comments on commit 18474be

Please sign in to comment.