5
Some checks failed
Deploy Production / Deploy to Staging (push) Has been skipped
Go Linter / Build golang services (api_gateway) (push) Has been cancelled
Go Linter / Push Docker Images (api_gateway) (push) Has been cancelled
Go Linter / Run golangci-lint (api_gateway) (push) Has been cancelled
Some checks failed
Deploy Production / Deploy to Staging (push) Has been skipped
Go Linter / Build golang services (api_gateway) (push) Has been cancelled
Go Linter / Push Docker Images (api_gateway) (push) Has been cancelled
Go Linter / Run golangci-lint (api_gateway) (push) Has been cancelled
This commit is contained in:
@@ -35,7 +35,7 @@ jobs:
|
|||||||
id: get_versions
|
id: get_versions
|
||||||
env:
|
env:
|
||||||
REGISTRY: docker.io
|
REGISTRY: docker.io
|
||||||
REPO: molva-backend
|
REPO: test-deploy
|
||||||
run: |
|
run: |
|
||||||
TOKEN=$(curl -s -u "${{ secrets.DOCKER_USERNAME }}:${{ secrets.DOCKER_PASSWORD }}" \
|
TOKEN=$(curl -s -u "${{ secrets.DOCKER_USERNAME }}:${{ secrets.DOCKER_PASSWORD }}" \
|
||||||
"https://$REGISTRY/v2/token?service=$REGISTRY&scope=repository:$REPO:pull" | jq -r .token)
|
"https://$REGISTRY/v2/token?service=$REGISTRY&scope=repository:$REPO:pull" | jq -r .token)
|
||||||
@@ -92,9 +92,6 @@ jobs:
|
|||||||
echo "Skipping pushing image..."
|
echo "Skipping pushing image..."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# - name: Install Docker Compose
|
|
||||||
# run: sudo apt-get update && sudo apt-get install -y docker-compose-plugin
|
|
||||||
|
|
||||||
- name: Deploy to Swarm
|
- name: Deploy to Swarm
|
||||||
run: |
|
run: |
|
||||||
if [ "${{ inputs.version }}" == "latest" ]; then
|
if [ "${{ inputs.version }}" == "latest" ]; then
|
||||||
|
Reference in New Issue
Block a user