mirror of
https://github.com/gravitl/netmaker.git
synced 2026-01-17 00:08:42 +08:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
30 lines
873 B
YAML
30 lines
873 B
YAML
name: Build go-builder images
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
docker_tag:
|
|
description: 'Docker tag to use (default: latest)'
|
|
required: false
|
|
default: 'latest'
|
|
jobs:
|
|
go-builder:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v6
|
|
- name: SetUp Buildx
|
|
uses: docker/setup-buildx-action@v3
|
|
- name: Login to Dockerhub
|
|
uses: docker/login-action@v3
|
|
with:
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
- name: Build and push to docker hub
|
|
uses: docker/build-push-action@v6
|
|
with:
|
|
context: .
|
|
push: true
|
|
platforms: linux/amd64, linux/arm64, linux/arm/v7
|
|
file: ./docker/Dockerfile-go-builder
|
|
tags: gravitl/go-builder:${{ github.event.inputs.docker_tag || 'latest' }}
|