mirror of
https://github.com/clowzed/sero
synced 2026-03-14 20:55:50 +01:00
add testable action
This commit is contained in:
parent
e75544f0a4
commit
7d4aba9ac2
1 changed files with 32 additions and 0 deletions
32
.github/workflows/testable.yml
vendored
Normal file
32
.github/workflows/testable.yml
vendored
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
name: docker build testable
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "*"
|
||||
- "!master"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
-
|
||||
name: Login to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: clowzed
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
-
|
||||
name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
-
|
||||
name: Build and push
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: ./Dockerfile
|
||||
push: true
|
||||
tags: clowzed/sero:testable
|
||||
Loading…
Add table
Add a link
Reference in a new issue