Skip to content

Commit 7c30388

Browse files
authored
Update staging build-push workflow
1 parent d1742d2 commit 7c30388

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-publish-staging-anvilops.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212

1313
jobs:
1414
push_to_registry:
15-
name: Push AnvilOps Docker image to Harbor (Development)
15+
name: Push AnvilOps Docker image to Harbor (Staging)
1616
runs-on: ubuntu-latest
1717
permissions:
1818
contents: read
@@ -24,7 +24,7 @@ jobs:
2424
run: docker login -u '${{ secrets.DOCKER_USERNAME }}' -p '${{ secrets.DOCKER_PASSWORD }}' registry.anvil.rcac.purdue.edu
2525

2626
- name: Build and push AnvilOps Docker image
27-
run: docker build --push -t registry.anvil.rcac.purdue.edu/anvilops-dev/anvilops:${{ github.ref_name }}-${{ github.run_number }}-${{ github.sha }}${{ github.event_name == 'push' && ' -t registry.anvil.rcac.purdue.edu/anvilops-dev/anvilops:latest' || '' }} --cache-from=type=registry,ref=registry.anvil.rcac.purdue.edu/anvilops-dev/anvilops:latest --cache-to=type=inline .
27+
run: docker build --push -t registry.anvil.rcac.purdue.edu/anvilops-staging/anvilops:${{ github.run_number }}-${{ github.sha }}${{ github.event_name == 'push' && ' -t registry.anvil.rcac.purdue.edu/anvilops-dev/anvilops:latest' || '' }} --cache-from=type=registry,ref=registry.anvil.rcac.purdue.edu/anvilops-dev/anvilops:latest --cache-to=type=inline .
2828

2929
- name: Log out of container registry
3030
if: always()

0 commit comments

Comments
 (0)