Skip to content

Publish Docker Image #13

Publish Docker Image

Publish Docker Image #13

Workflow file for this run

name: Publish Docker Image
on:
push:
branches:
- 'master'
schedule:
- cron: '7 3 1 * *'
jobs:
push_to_registry:
name: Push to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and Push
uses: docker/build-push-action@v4
with:
push: true
tags: skybound/net-utils:latest