Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
f0f6c58f0b | |||
681c7f703b | |||
a11936ae65 |
@ -65,7 +65,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v2
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
- name: Log in to Custom Registry
|
- name: Log in to Custom Registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
@ -75,11 +75,11 @@ jobs:
|
|||||||
password: ${{ secrets.API_TOKEN }}
|
password: ${{ secrets.API_TOKEN }}
|
||||||
|
|
||||||
- name: Build and Push Docker Image
|
- name: Build and Push Docker Image
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ env.DOCKER_IMG }}:${{ github.ref_name }}
|
tags: ${{ env.DOCKER_IMG }}:${{ github.ref_name }}
|
||||||
build-args: |
|
build-args: |
|
||||||
VER_PKG={{ env.VER_PKG }}
|
VER_PKG=${{ env.VER_PKG }}
|
||||||
VERSION=${{ github.ref_name }}
|
VERSION=${{ github.ref_name }}
|
||||||
|
2
Makefile
2
Makefile
@ -3,7 +3,7 @@ CMD_NAME := ambient-local-exporter
|
|||||||
.PHONY: all test build docker install clean
|
.PHONY: all test build docker install clean
|
||||||
|
|
||||||
VERSION ?= development # Default to "development" if VERSION is not set
|
VERSION ?= development # Default to "development" if VERSION is not set
|
||||||
PLATFORMS := linux/amd64 darwin/amd64 darwin/arm64
|
PLATFORMS := linux/amd64 linux/arm64 darwin/amd64 darwin/arm64
|
||||||
OUTPUT_DIR := bin
|
OUTPUT_DIR := bin
|
||||||
VER_PKG := gitea.libretechconsulting.com/rmcguire/go-app/pkg/config.Version
|
VER_PKG := gitea.libretechconsulting.com/rmcguire/go-app/pkg/config.Version
|
||||||
DOCKER_IMG := gitea.libretechconsulting.com/rmcguire/ambient-local-exporter
|
DOCKER_IMG := gitea.libretechconsulting.com/rmcguire/ambient-local-exporter
|
||||||
|
Reference in New Issue
Block a user