Skip to content

feat: swagger using swaggo/swag and gin-swagger #66

feat: swagger using swaggo/swag and gin-swagger

feat: swagger using swaggo/swag and gin-swagger #66

Workflow file for this run

name: Docker CI
on:
pull_request:
branches: ['main']
paths: ['Dockerfile','cmd/**','docs/**','internal/**','go.*','.github/workflows/ci-docker.yml']
env:
GHCR_IMAGE_NAME: ghcr.io/blinklabs-io/snek
jobs:
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: qemu
uses: docker/setup-qemu-action@v2
- uses: docker/setup-buildx-action@v2
- id: meta
uses: docker/metadata-action@v4
with:
images: ${{ env.GHCR_IMAGE_NAME }}
- name: build
uses: docker/build-push-action@v3
with:
context: .
push: false
### TODO: test multiple platforms
# platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}