From d119e767773fc4eb0922d61efbd24dacc4221fbd Mon Sep 17 00:00:00 2001 From: lAmeR1 <42315864+lAmeR1@users.noreply.github.com> Date: Wed, 8 Feb 2023 21:21:53 +0100 Subject: [PATCH] Create docker-image.yml (#11) * Create docker-image.yml * added push * login * Update docker-image.yml * Update docker-image.yml * Create docker-image.yml * Update docker-image.yml * Update docker-image.yml * Update docker-image.yml * Update docker-image.yml * Update docker-image.yml * Update docker-image.yml * Update docker-image.yml * Update docker-image.yml * Update docker-image.yml * Update docker-image.yml * Update docker-image.yml --- .github/workflows/docker-image.yml | 31 ++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/docker-image.yml diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml new file mode 100644 index 0000000..8adfa59 --- /dev/null +++ b/.github/workflows/docker-image.yml @@ -0,0 +1,31 @@ +name: Docker Image CI + +on: + push: + branches: [ "main" ] + release: + types: [published] + +jobs: + + build: + + runs-on: ubuntu-latest + steps: + - + name: Checkout + uses: actions/checkout@v3 + - + name: Login to Docker Hub + uses: docker/login-action@v2 + with: + username: lamer1 + password: ${{ secrets.DOCKER_ACCESS_TOKEN }} + - + name: Build and push + uses: docker/build-push-action@v4 + with: + context: . + push: true + tags: lamer1/kaspa-rest-wallet:${{github.ref_name}}, lamer1/kaspa-rest-wallet:latest + file: ./docker/Dockerfile