Skip to content
This repository has been archived by the owner on Feb 17, 2024. It is now read-only.

Merge pull request #229 from stealthrocket/subfs #92

Merge pull request #229 from stealthrocket/subfs

Merge pull request #229 from stealthrocket/subfs #92

Workflow file for this run

name: docker
on:
push:
tags:
- v*
branches:
- main
env:
GOPRIVATE: github.com/stealthrocket
GH_ACCESS_TOKEN: ${{ secrets.PRIVATE_ACCESS_TOKEN }}
jobs:
docker-build:
env:
PAT_PACKAGES: ${{ secrets.PAT_PACKAGES }}
BUILDPLATFORM: "linux/amd64,linux/arm64"
name: Container Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version-file: go.mod
check-latest: true
- run: git config --global url.https://[email protected] https://github.com
- run: echo $PAT_PACKAGES | docker login ghcr.io -u USERNAME --password-stdin
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
- name: Build and push
run: make docker-buildx