Skip to content

Modular logistics and supply chain operating system (LSOS)

remove publish job from ci

Ronald A. Richardsone8335c954e84
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index ad5043ff..73d185c1 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -28,29 +28,3 @@ jobs:
- name: Build and Start Docker Services
run: |
docker-compose up -d --build
-
- publish:
- if: startsWith(github.ref, 'refs/tags/')
- name: Push Docker image to Docker Hub
- needs: [build]
- runs-on: ubuntu-latest
- steps:
- - name: Check out the repo
- uses: actions/checkout@v2
-
- - name: Get the version
- id: get_version
- run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/}
-
- - name: Log in to Docker Hub
- uses: docker/login-action@v1
- with:
- username: ${{ secrets.DOCKER_HUB_USERNAME }}
- password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
-
- - name: Build and push Docker image
- uses: docker/build-push-action@v2
- with:
- context: .
- push: true
- tags: your-dockerhub-username/your-repo-name:${{ steps.get_version.outputs.VERSION }}