Skip to content

Commit

Permalink
chore: build and push docker image using github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
npazosmendez committed Aug 13, 2024
1 parent ec431ff commit 2b98cee
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/build-push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: "build-push"

on:
push:
branches:
- main
pull_request:

env:
GO_VERSION: 1.21.8

jobs:
acceptance:
runs-on: ubuntu-latest
steps:
- id: checkout
uses: actions/checkout@v4
- id: generate-tag
run: |
bash scripts/generate-tags.sh > .tag
- id: push-to-gar
uses: grafana/shared-workflows/actions/push-to-gar-docker@main
with:
registry: "us-docker.pkg.dev/grafanalabs-dev/docker-influx2cortex-dev"
tags: |-
"test-tag"
"latest"
context: "."
image_name: "influx2cortex"
environment: "dev"

0 comments on commit 2b98cee

Please sign in to comment.