Skip to content

Commit

Permalink
Fixed workflow issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
henrietteharmse committed Jul 25, 2024
1 parent 3e7c9b0 commit 52e5524
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,6 @@ jobs:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
#
# - name: Build ols-shared and copy to dataload and backend
# run: |
# cd dataload
# mkdir libs
# cd ../backend
# mkdir libs
# cd ..
# cd ols-shared
# mvn clean package
# cp target/ols4-shared-1.0.0-SNAPSHOT.jar ../dataload/libs/ols4-shared-1.0.0-SNAPSHOT.jar
# cp target/ols4-shared-1.0.0-SNAPSHOT.jar ../backend/libs/ols4-shared-1.0.0-SNAPSHOT.jar

- name: Build and push ols4 dataload Docker image
run: |
Expand All @@ -48,7 +36,7 @@ jobs:
- name: Build and push ols4 backend Docker image
run: |
cd backend
docker build -t ghcr.io/ebispot/ols4-backend:${{ github.sha }} .
docker build -t ghcr.io/ebispot/ols4-backend:${{ github.sha }} -f ./backend/Dockerfile .
docker tag ghcr.io/ebispot/ols4-backend:${{github.sha}} ghcr.io/ebispot/ols4-backend:${{ github.head_ref || github.ref_name }}
docker push --all-tags ghcr.io/ebispot/ols4-backend
Expand Down

0 comments on commit 52e5524

Please sign in to comment.