Skip to content

Commit

Permalink
Merge pull request #26 from RapidCodeLab/develop
Browse files Browse the repository at this point in the history
fix dockerfile && github actions
  • Loading branch information
RapidCodeLab authored Nov 18, 2023
2 parents c251344 + 70fef78 commit 7a10349
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
name: Deploy Docker image to Docker Hub
on:
push:
branches:
- main
tags:
- 'v[0-9].[0-9]+.[0-9]+'
# - 'v[0-9].[0-9]+.[0-9]+'

jobs:
deploy:
runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/main' }}
if: ${{ startsWith(github.ref, 'refs/tags/') }}
steps:
- name: Extract Version
id: version_step
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ FROM scratch
COPY --from=build /etc/ssl/certs/ca-certificates.crt \
/etc/ssl/certs/ca-certificates.crt

COPY --from=build /go/src/github.com/RapidCodeLab/rapid-prebid-server/server
COPY --from=build /go/src/github.com/RapidCodeLab/rapid-prebid-server/server \
/server

ENTRYPOINT ["/server"]

0 comments on commit 7a10349

Please sign in to comment.