Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Parnell <[email protected]>
  • Loading branch information
tdoublep committed Jun 6, 2024
1 parent efae41f commit 61e4036
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defaults:
shell: bash

env:
SERVER_IMAGE: "quay.io/fmperf/fmperf"
IMAGE: "quay.io/fmperf/fmperf"
IMAGE_REGISTRY: "quay.io"

jobs:
Expand All @@ -40,7 +40,7 @@ jobs:
- name: "Set up Docker Buildx"
uses: docker/setup-buildx-action@v3

- name: "Log in to container registry (server-release)"
- name: "Log in to container registry (release)"
uses: docker/login-action@v3
if: github.event_name != 'pull_request'
with:
Expand All @@ -53,19 +53,19 @@ jobs:
uses: docker/metadata-action@v5
with:
images: |
${{ env.SERVER_IMAGE }}
${{ env.IMAGE }}
tags: |
type=ref,event=branch
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=sha,enable=true,priority=100,prefix=,suffix=,format=short
type=sha,enable=true,priority=100,prefix=${{ github.ref_name }}.,suffix=,format=short
- name: "Docker build server-release"
- name: "Docker build release"
uses: docker/build-push-action@v5
with:
context: .
target: server-release
target: release
build-args: |
GIT_COMMIT_HASH=${{ github.sha }}
tags: ${{ steps.meta.outputs.tags }}
Expand Down

0 comments on commit 61e4036

Please sign in to comment.