Skip to content

Commit

Permalink
Update build workflows to use repository and tags instead of specific…
Browse files Browse the repository at this point in the history
… image names
  • Loading branch information
devincowan committed Apr 11, 2024
1 parent 4a4f421 commit 43fb70f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ jobs:
with:
context: .
file: ${{ matrix.IMAGE_VARIANT }}
tags: hydroshare/quota-microservices:${{ matrix.IMAGE_VARIANT }}
repository: quota-microservices
tags: latest
push: false
cache-from: type=gha
cache-to: type=gha,mode=max
Expand All @@ -51,8 +52,8 @@ jobs:
uses: shrink/actions-docker-extract@v3
id: extract
with:
image: hydroshare/quota-microservices:${{ matrix.IMAGE_VARIANT }}
path: /output/
image: quota-microservices
path: /output/.
destination: output

# Archive the built package
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/periodic_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ jobs:
with:
context: .
file: ${{ matrix.IMAGE_VARIANT }}
tags: hydroshare/quota-microservices:${{ matrix.IMAGE_VARIANT }}
repository: quota-microservices
tags: latest
push: false
cache-from: type=gha
cache-to: type=gha,mode=max
Expand All @@ -46,8 +47,8 @@ jobs:
uses: shrink/actions-docker-extract@v3
id: extract
with:
image: hydroshare/quota-microservices:${{ matrix.IMAGE_VARIANT }}
path: /output/
image: quota-microservices
path: /output/.
destination: output

# Archive the built package
Expand Down

0 comments on commit 43fb70f

Please sign in to comment.