Skip to content

Hotfix TCP connection in docker #9

Hotfix TCP connection in docker

Hotfix TCP connection in docker #9

name: Build docker container and push to dockerhub
on:
release:
types: [published]
workflow_dispatch:
inputs:
TAG_NAME:
description: 'Release Version Tag (0.0.0)'
required: true
env:
REGISTRY: ghcr.io
CROSS_SYSROOT: /mnt/alpine
jobs:
build:
runs-on: ubuntu-latest
name: 'Build container and push'
permissions:
packages: write
contents: read
steps:
- name: Checkout code
uses: actions/[email protected]
with:
ref: ${{ github.ref }}
- name: Update Package to Release Version
uses: technote-space/[email protected]
- name: Set up Docker Buildx
uses: docker/[email protected]
- name: Login to DockerHub
uses: docker/[email protected]
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push to GHCR Hub
uses: docker/build-push-action@v6
with:
context: "."
push: true
tags: |
ghcr.io/sipcapture/hepsim:latest
ghcr.io/sipcapture/hepsim:${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }}