mirror of
https://github.com/clowzed/sero
synced 2024-05-23 01:32:13 +02:00
add testable action
This commit is contained in:
parent
e75544f0a4
commit
7d4aba9ac2
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…
Reference in a new issue