diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5acca63..071d73d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -34,24 +34,27 @@ jobs: needs: build runs-on: ubuntu-latest steps: - - - name: Set up QEMU + - name: Set up QEMU uses: docker/setup-qemu-action@v3 - - - name: Set up Docker Buildx + + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - - - name: Login to Docker Hub + + - name: Login to Docker Hub uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - - name: Build and push + + - name: Get branch name + uses: nelonoel/branch-name@v1.0.1 + - run: echo ${BRANCH_NAME} + + - name: Build and push uses: docker/build-push-action@v5 with: push: true - tags: eat-place/${BRANCH_NAME}:latest + tags: eat-place/web_ui/${BRANCH_NAME}:latest deploy: needs: docker