Skip to content

Commit 7e499dd

Browse files
committed
Remove the docker build as it is now in a different repo
1 parent 8db7f8d commit 7e499dd

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -67,29 +67,3 @@ jobs:
6767
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6868
APACHE_LOG_DIR: /var/log/alyx
6969
POSTGRES_HOST: localhost
70-
71-
# Docker steps only run when master branch pushed to directly OR when a PR is merged
72-
- name: Set Docker conditional value if needed
73-
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
74-
run: |
75-
echo "DOCKER_PUSH_NEEDED=true" >> "$GITHUB_ENV"
76-
77-
- name: Configure Docker login if needed
78-
if: env.DOCKER_PUSH_NEEDED == 'true'
79-
uses: docker/login-action@v1
80-
with:
81-
username: ${{ secrets.DOCKER_HUB_USERNAME }}
82-
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
83-
84-
- name: Set up Docker Buildx if needed
85-
if: env.DOCKER_PUSH_NEEDED == 'true'
86-
uses: docker/setup-buildx-action@v1
87-
88-
- name: Build and push Docker base image if needed
89-
if: env.DOCKER_PUSH_NEEDED == 'true'
90-
uses: docker/build-push-action@v2
91-
with:
92-
context: .
93-
file: ./scripts/deployment_examples/alyx-docker/Dockerfile.base
94-
push: true
95-
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/alyx:base

0 commit comments

Comments
 (0)