Skip to content

Commit

Permalink
temporarily enable docker build on PR
Browse files Browse the repository at this point in the history
  • Loading branch information
rhelmer committed Dec 5, 2024
1 parent f0bdedc commit d501a00
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/docker_build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ name: Build Docker image and publish

on:
push:
branches: [ main ]
# FIXME temporarily run this job on test branch
branches: [ main, use-github-env-for-public-sentry-dsn ]
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
Expand Down Expand Up @@ -52,10 +53,11 @@ jobs:
--secret id=SENTRY_AUTH_TOKEN \
.
- name: Deploy to Dockerhub
env:
DOCKERHUB_REPO: ${{ env.DOCKERHUB_REPO }}
run: |
# deploy main
docker tag blurts-server ${{ steps.meta.outputs.tags }}
docker push ${{ steps.meta.outputs.tags }}
# FIXME do not deploy to Dockerhub while testing
#- name: Deploy to Dockerhub
# env:
# DOCKERHUB_REPO: ${{ env.DOCKERHUB_REPO }}
# run: |
# # deploy main
# docker tag blurts-server ${{ steps.meta.outputs.tags }}
# docker push ${{ steps.meta.outputs.tags }}

0 comments on commit d501a00

Please sign in to comment.