Skip to content

build(deps): bump golang.org/x/net from 0.0.0-20211112202133-69e39bad7dc2 to 0.23.0 #18

build(deps): bump golang.org/x/net from 0.0.0-20211112202133-69e39bad7dc2 to 0.23.0

build(deps): bump golang.org/x/net from 0.0.0-20211112202133-69e39bad7dc2 to 0.23.0 #18

name: docker-build-debug
on:
push:
branches:
- '**'
tags:
- 'v*.*.*'
pull_request:
branches:
- 'main'
workflow_dispatch:
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build:
runs-on: "ubuntu-latest"
permissions:
contents: write
packages: write
steps:
- name: "Checkout source code"
uses: "actions/checkout@v2"
- name: Docker meta
id: meta
uses: docker/metadata-action@v3
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=sha,suffix=-debug
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to GHCR
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
platforms: linux/amd64, linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
file: docker/debug.Dockerfile