Hotfix TCP connection in docker #9
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |