Skip to content

VLANs & sample BGP config (#26) #29

VLANs & sample BGP config (#26)

VLANs & sample BGP config (#26) #29

Workflow file for this run

name: Publish Docker Image
on:
push:
branches:
- main
release:
types: [published]
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build and push latest
id: docker_build
env:
TAG: ${{ github.event.release.tag_name || 'latest' }}
uses: docker/build-push-action@v4
with:
push: true
tags: |
frinx/sample-topology:${{ env.TAG }}