Skip to content

Merge pull request #3 from ZetkoOfficial/development #4

Merge pull request #3 from ZetkoOfficial/development

Merge pull request #3 from ZetkoOfficial/development #4

name: Publish docker image
on:
push:
branches: [ main ]
jobs:
publish:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout branch
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v4
with:
push: true
tags: zetkoofficial/network_status:latest