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

This commit is contained in:
Alex Shevchuk
2025-08-18 17:24:22 +03:00
parent ad72aa2a5e
commit 96401b3787

View File

@@ -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