Compare commits

...

3 Commits

Author SHA1 Message Date
f0f6c58f0b Fix versioning
All checks were successful
Build and Publish / release (push) Successful in 3m24s
2025-01-05 11:36:30 -05:00
681c7f703b Add Linux ARM64
Some checks failed
Build and Publish / release (push) Failing after 3m27s
2025-01-05 11:32:21 -05:00
a11936ae65 Fix action versions
Some checks failed
Build and Publish / release (push) Failing after 2m51s
2025-01-05 11:28:17 -05:00
2 changed files with 4 additions and 4 deletions

View File

@ -65,7 +65,7 @@ jobs:
fi
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Log in to Custom Registry
uses: docker/login-action@v3
@ -75,11 +75,11 @@ jobs:
password: ${{ secrets.API_TOKEN }}
- name: Build and Push Docker Image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: ${{ env.DOCKER_IMG }}:${{ github.ref_name }}
build-args: |
VER_PKG={{ env.VER_PKG }}
VER_PKG=${{ env.VER_PKG }}
VERSION=${{ github.ref_name }}

View File

@ -3,7 +3,7 @@ CMD_NAME := ambient-local-exporter
.PHONY: all test build docker install clean
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
VER_PKG := gitea.libretechconsulting.com/rmcguire/go-app/pkg/config.Version
DOCKER_IMG := gitea.libretechconsulting.com/rmcguire/ambient-local-exporter