Skip to content

Commit

Permalink
Fix image builder action
Browse files Browse the repository at this point in the history
Signed-off-by: Pete Wall <pete.wall@grafana.com>
  • Loading branch information
petewall committed Jan 5, 2024
1 parent 4c00fcd commit 38a2813
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/update-test-image.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
name: update-test-image
name: Build and Push Test Image

on:
push:
branches:
- main

jobs:
docker:
build-and-push-test-image:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Get Version
id: get-version
run: yq -r '"version=\(.version)"' source/charts/k8s-monitoring/Chart.yaml >> $GITHUB_OUTPUT
run: yq -r '"version=\(.version)"' $GITHUB_WORKSPACE/charts/k8s-monitoring/Chart.yaml >> $GITHUB_OUTPUT

- name: Docker meta
id: meta
Expand All @@ -35,5 +35,6 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v5
with:
context: $GITHUB_WORKSPACE/charts/k8s-monitoring/test
push: true
tags: ${{ steps.meta.outputs.tags }}

0 comments on commit 38a2813

Please sign in to comment.