Skip to content

chore: build and push docker image using github actions #1

chore: build and push docker image using github actions

chore: build and push docker image using github actions #1

Workflow file for this run

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"