Skip to content

Merge pull request #70 from SataQiu/fix-ci #61

Merge pull request #70 from SataQiu/fix-ci

Merge pull request #70 from SataQiu/fix-ci #61

Workflow file for this run

name: FOSSA
on:
push:
tags:
- v[0-9]+.[0-9]+.[0-9]+
branches: [master]
pull_request_target:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: actions/setup-go@v2
with:
go-version: "^1.19.x"
- run: go version
# Runs a set of commands to initialize and analyze with FOSSA
- name: Get branch name
uses: nelonoel/[email protected]
- name: Docker Login
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
- run: VERSION="${BRANCH_NAME}" make ubuntu20.04
- run: VERSION="${BRANCH_NAME}" make push-short
- run: VERSION="${BRANCH_NAME}" make push-latest