Skip to content

Merge branch 'main' of https://github.com/nicholas-fedor/EUI64-Calcul… #43

Merge branch 'main' of https://github.com/nicholas-fedor/EUI64-Calcul…

Merge branch 'main' of https://github.com/nicholas-fedor/EUI64-Calcul… #43

Workflow file for this run

name: Push to main
on:
workflow_dispatch: {}
push:
branches:
- main
permissions:
contents: write
actions: read
packages: write
id-token: write
attestations: write
jobs:
lint:
uses: ./.github/workflows/lint.yaml
test:
uses: ./.github/workflows/test.yaml
build-and-publish:
needs:
- test
- lint
runs-on: ubuntu-latest
env:
CGO_ENABLED: 0
TAG: ${{ github.ref_name }}
steps:
- name: Checkout
uses: actions/checkout@85e6279cec87321a52edac9c87bce653a07cf6c2
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@5a083d0e9a84784eb32078397cf5459adecb4c40
with:
go-version: 1.24.0
- name: Login to Docker Hub
uses: docker/login-action@327cd5a69de6c009b9ce71bce8395f28e651bf99
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to GHCR
uses: docker/login-action@327cd5a69de6c009b9ce71bce8395f28e651bf99
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Call Build Workflow
uses: ./.github/workflows/build.yaml
with:
snapshot: true