Skip to content

Commit

Permalink
Update and template build-and-push-image
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Brody committed Aug 15, 2024
1 parent 4490067 commit 795604f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,22 @@ jobs:
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Log in to the Container registry
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Build and push Docker image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
uses: docker/build-push-action@v6
with:
context: .
file: react/test/Dockerfile
Expand All @@ -51,4 +51,4 @@ jobs:
runs-on: ubuntu-22.04
needs: build-and-push-image
steps:
- uses: docker://ghcr.io/kavigupta/urbanstats/e2e:lb-docker-test
- uses: docker://${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.BRANCH_NAME }}

0 comments on commit 795604f

Please sign in to comment.