Skip to content

Commit

Permalink
Remove dockerhub build. Not needed.
Browse files Browse the repository at this point in the history
  • Loading branch information
mgdaily committed Nov 10, 2023
1 parent a5ef652 commit 31d024b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 66 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,31 +56,3 @@ jobs:
run: poetry run coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

build_and_publish_image:
# Only run this job if the run_tests job has succeeded, and if
# this workflow was triggered by the creation of a new tag
needs: run_tests
if: github.event_name == 'create' && github.event.ref_type == 'tag' && github.event.repository.fork == false
runs-on: ubuntu-latest
env:
DOCKER_REPOSITORY: observatorycontrolsystem/science-archive
DOCKER_IMAGE_TAG: ${{ github.event.ref }}
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build image and push to Docker Hub
uses: docker/build-push-action@v2
with:
context: .
no-cache: true
pull: true
push: true
tags: ${{ env.DOCKER_REPOSITORY }}:${{ env.DOCKER_IMAGE_TAG }}
38 changes: 0 additions & 38 deletions .github/workflows/docs-gh-pages.yaml

This file was deleted.

0 comments on commit 31d024b

Please sign in to comment.