Skip to content

close downstream connections when upstream close #1

close downstream connections when upstream close

close downstream connections when upstream close #1

Workflow file for this run

name: Docker images
on:
push:
branches:
- main
tags:
- "v*"
paths:
- src/**
- shard.lock
- Dockerfile
- .github/workflows/docker.yml
pull_request:
paths:
- src/**
- shard.lock
- Dockerfile
- .github/workflows/docker.yml
workflow_dispatch:
inputs:
tag:
description: 'Tag to build (e.g., v1.0.0)'
required: true
type: string
jobs:
docker:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.tag || github.ref }}
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: cloudamqp/amqproxy
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=raw,value=${{ github.event.inputs.tag }},enable=${{ github.event_name == 'workflow_dispatch' }}
- name: Set up Depot CLI
uses: depot/setup-action@v1
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: depot/build-push-action@v1
with:
project: nm81cffkc0
platforms: linux/amd64,linux/arm64
pull: true
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
MAKEFLAGS=-j1