Skip to content

Added Go 1.21 image #22

Added Go 1.21 image

Added Go 1.21 image #22

Workflow file for this run

name: Build Go
on:
push:
branches:
- main
paths:
- "go/**"
- ".github/workflows/go.yaml"
- "install_tooling.sh"
workflow_call:
env:
REGISTRY: ghcr.io
IMAGE_REPO: loft-sh/devspace-containers/go
defaults:
run:
working-directory: go
jobs:
go:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- tag: 1.21-alpine
- tag: 1.20-alpine
- tag: 1.19-alpine
- tag: 1.18-alpine
- tag: 1.17-alpine
- tag: 1.16-alpine
steps:
- uses: actions/checkout@v2
- uses: docker/setup-qemu-action@v1
- uses: docker/setup-buildx-action@v1
- uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: loft-sh/setup-devspace@main
- run: devspace build --var TAG=${{ matrix.tag }}