Skip to content

Commit

Permalink
fix: docker workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
chasemc committed Jul 24, 2024
1 parent 438d669 commit dfff24f
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 52 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,25 +59,25 @@ jobs:
- name: Push Docker images
run: |
docker push chasemc2/sgnf-antismash:$RELEASE_NUMBER
build_and_push_prokka:
name: Build and push prokka
runs-on: ubuntu-latest
continue-on-error: true
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Log in to Docker Hub
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKERHUBPAT }}
- name: Get release number without preceding v
id: get_release_number
run: echo "RELEASE_NUMBER=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
- name: Build Docker images
run: |
cd dockerfiles/prokka
docker build -t chasemc2/sgnf-prokka:$RELEASE_NUMBER .
- name: Push Docker images
run: |
docker push chasemc2/sgnf-prokka:$RELEASE_NUMBER
# build_and_push_prokka:
# name: Build and push prokka
# runs-on: ubuntu-latest
# continue-on-error: true
# steps:
# - name: Check out the repo
# uses: actions/checkout@v4
# - name: Log in to Docker Hub
# uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
# with:
# username: ${{ secrets.DOCKER_USERNAME }}
# password: ${{ secrets.DOCKERHUBPAT }}
# - name: Get release number without preceding v
# id: get_release_number
# run: echo "RELEASE_NUMBER=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
# - name: Build Docker images
# run: |
# cd dockerfiles/prokka
# docker build -t chasemc2/sgnf-prokka:$RELEASE_NUMBER .
# - name: Push Docker images
# run: |
# docker push chasemc2/sgnf-prokka:$RELEASE_NUMBER
19 changes: 0 additions & 19 deletions dockerfiles/prokka/Dockerfile

This file was deleted.

11 changes: 0 additions & 11 deletions dockerfiles/prokka/environment.yaml

This file was deleted.

0 comments on commit dfff24f

Please sign in to comment.