From 9383ab0b6dbbe65e6238977e21eeb3f3f294ddca Mon Sep 17 00:00:00 2001 From: Johannes vom Dorp Date: Wed, 19 Apr 2023 10:31:32 +0200 Subject: [PATCH] Build and tag container with unblob as generic carver (#119) * added action to build extractor image based on unblob-2 branch --- .github/workflows/build-unblob-image.yml | 27 ++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/build-unblob-image.yml diff --git a/.github/workflows/build-unblob-image.yml b/.github/workflows/build-unblob-image.yml new file mode 100644 index 00000000..b5de81af --- /dev/null +++ b/.github/workflows/build-unblob-image.yml @@ -0,0 +1,27 @@ +name: Publish Docker image based on unblob-2 branch + +on: + push: + branches: ['unblob-2'] + workflow_dispatch: + +jobs: + build-and-publish-image: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Login to DockerHub + uses: docker/login-action@v2 + with: + username: ${{ secrets.DOCKER_HUB_USER }} + password: ${{ secrets.DOCKER_HUB_TOKEN }} + + - name: Build and push Docker image + uses: docker/build-push-action@v3 + with: + context: . + push: true + tags: fkiecad/fact_extractor:unblob