From 7d4aba9ac263cc03639090cf204cebe6498f3dad Mon Sep 17 00:00:00 2001 From: clowzed Date: Mon, 6 Nov 2023 16:08:54 +0300 Subject: [PATCH] add testable action --- .github/workflows/testable.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/testable.yml diff --git a/.github/workflows/testable.yml b/.github/workflows/testable.yml new file mode 100644 index 0000000..0f31141 --- /dev/null +++ b/.github/workflows/testable.yml @@ -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