sero/.github/workflows/dev.yml

27 lines
630 B
YAML

name: "Test"
on:
push:
branches:
- "dev"
jobs:
push-to-registry:
name: "Build and push Docker image to Docker Hub"
runs-on: "ubuntu-latest"
steps:
- name: "Check out the repo"
uses: actions/checkout@v3
- name: "Log in to Docker Hub"
uses: "docker/login-action@v2"
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: "Build and push Docker image"
uses: "docker/build-push-action@v3"
with:
context: .
push: true
tags: clowzed/sero:dev-unstable