mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-23 13:34:50 +08:00
Bumps [docker/login-action](https://github.com/docker/login-action) from 2 to 3. - [Release notes](https://github.com/docker/login-action/releases) - [Commits](https://github.com/docker/login-action/compare/v2...v3) --- updated-dependencies: - dependency-name: docker/login-action 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>
29 lines
732 B
YAML
29 lines
732 B
YAML
name: Build go-builder images
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- 'develop'
|
|
|
|
jobs:
|
|
go-builder:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
- 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@v5
|
|
with:
|
|
context: .
|
|
push: true
|
|
platforms: linux/amd64, linux/arm64, linux/arm/v7
|
|
file: ./docker/Dockerfile-go-builder
|
|
tags: gravitl/go-builder:latest
|