Skip to content

deps(go): Bump github.com/hairyhenderson/go-fsimpl from 0.1.8 to 0.2.… #47

deps(go): Bump github.com/hairyhenderson/go-fsimpl from 0.1.8 to 0.2.…

deps(go): Bump github.com/hairyhenderson/go-fsimpl from 0.1.8 to 0.2.… #47

Workflow file for this run

name: Docker Main Build
on:
push:
branches: [ main ]
jobs:
docker-main-build:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/[email protected]
- name: Set up Docker Buildx
id: buildx
uses: docker/[email protected]
with:
version: v0.14.1
driver-opts: |
image=moby/buildkit:buildx-stable-1
network=host
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Login to GHCR
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to DockerHub
uses: docker/[email protected]
with:
# NOTE: DOCKERHUB_TOKEN and DOCKERHUB_USERNAME must be present in https://github.com/hairyhenderson/gomplate/settings
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build & Push (latest tag)
run: |
export srcrepo=${{ github.repository}}
make docker-multi COMMIT=${{ github.sha }} DOCKER_REPO=${srcrepo} BUILDX_ACTION=--push
docker buildx imagetools create -t gomplate/gomplate:latest ${srcrepo}:latest
docker buildx imagetools create -t gomplate/gomplate:alpine ${srcrepo}:alpine
docker buildx imagetools create -t ghcr.io/${srcrepo}:latest ${srcrepo}:latest
docker buildx imagetools create -t ghcr.io/${srcrepo}:alpine ${srcrepo}:alpine