Skip to content

Commit

Permalink
build test
Browse files Browse the repository at this point in the history
  • Loading branch information
Avi-Robusta committed Jun 11, 2024
1 parent 1b0e178 commit 0f81058
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/docker-build-on-tag.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Docker Build and Push

on:
push:
tags:
- '*'
on: [push]

jobs:
build:
Expand All @@ -28,7 +25,7 @@ jobs:
context: .
platforms: linux/arm64,linux/amd64
push: true
tags: robustadev/krr:${{ github.ref_name }}
tags: robustadev/krr:test_release
build-args: |
BUILDKIT_INLINE_CACHE=1
Expand All @@ -53,7 +50,7 @@ jobs:
docker buildx build \
--build-arg BUILDKIT_INLINE_CACHE=1 \
--platform linux/arm64,linux/amd64 \
--cache-from robustadev/krr:${{ github.ref_name }} \
--tag us-central1-docker.pkg.dev/genuine-flight-317411/devel/krr:${{ github.ref_name }} \
--cache-from robustadev/krr:test_release \
--tag us-central1-docker.pkg.dev/genuine-flight-317411/devel/krr:test_release \
--push \
.

0 comments on commit 0f81058

Please sign in to comment.