From 4f5ce32289786ef956f0ef9ab0659232eeaf9280 Mon Sep 17 00:00:00 2001 From: AlexanderGalkov <143902290+AlexanderGalkov@users.noreply.github.com> Date: Mon, 5 Feb 2024 13:45:42 +0700 Subject: [PATCH] Create build-docker-image.yml Signed-off-by: AlexanderGalkov <143902290+AlexanderGalkov@users.noreply.github.com> --- .github/workflows/build-docker-image.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/build-docker-image.yml diff --git a/.github/workflows/build-docker-image.yml b/.github/workflows/build-docker-image.yml new file mode 100644 index 0000000..7ef32ba --- /dev/null +++ b/.github/workflows/build-docker-image.yml @@ -0,0 +1,23 @@ +name: build-docker-image + +on: + push: + tags: + - 'v[0-9]+.[0-9]+.[0-9]+' + +env: + APP: amneziawg-backend + +jobs: + build: + runs-on: ubuntu-latest + name: build + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }}