diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml deleted file mode 100644 index e3a7b162d..000000000 --- a/.github/workflows/publish.yaml +++ /dev/null @@ -1,31 +0,0 @@ -name: publish - -on: - push: - tags: - - '*' - -jobs: - docker: - runs-on: ubuntu-latest - steps: - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 - - - name: Login to DockerHub - uses: docker/login-action@v1 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - - name: Get the version - id: get_version - run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3) - - - name: Build and push - id: docker_build - uses: docker/build-push-action@v2 - with: - push: true - tags: kubefirst/nebulous:${{ steps.get_version.outputs.VERSION }}