From 64a179ef5e33ed347fd5bea58f5bbdd1cfefa4ff Mon Sep 17 00:00:00 2001 From: sacha-c Date: Wed, 4 Dec 2024 17:48:38 +0100 Subject: [PATCH] ci: push to dockerhub --- .github/workflows/publish.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a8d508b..04e9962 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -19,3 +19,16 @@ jobs: with: generate_release_notes: true token: "${{ secrets.GITHUB_TOKEN }}" + docker: + runs-on: ubuntu-latest + steps: + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ vars.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} + - name: Build and push + uses: docker/build-push-action@v6 + with: + push: true + tags: elementsinteractive/sheriff:latest,elementsinteractive/sheriff:${GITHUB_REF##*/}