Skip to content

Merge pull request #10 from xuqingfeng/dependabot/go_modules/golang.o… #27

Merge pull request #10 from xuqingfeng/dependabot/go_modules/golang.o…

Merge pull request #10 from xuqingfeng/dependabot/go_modules/golang.o… #27

Workflow file for this run

name: build
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
name: build docker images
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ github.repository_owner }}
password: ${{ secrets.DH_TOKEN }}
- name: Build and Push thn-api
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile
platforms: linux/amd64
push: true
tags: |
${{ github.repository_owner }}/brb:latest