Skip to content

Commit

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

on:
push:
branches: [ main ]
branches: [ main, MNTOR-2934/sentry-sourcemap-docker-secret ] # FIXME remove after testing
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
Expand Down Expand Up @@ -39,11 +39,12 @@ jobs:
--build-arg SENTRY_RELEASE="$GITHUB_REF_NAME" \
.
- 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 temporarily disable push 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 3aaeaa8

Please sign in to comment.