fix: build no docker swarm local
Some checks failed
BCards Deployment Pipeline / Run Tests (push) Successful in 2s
BCards Deployment Pipeline / PR Validation (push) Has been skipped
BCards Deployment Pipeline / Build and Push Image (push) Successful in 9m59s
BCards Deployment Pipeline / Deploy to Test (x86 - Local) (push) Has been skipped
BCards Deployment Pipeline / Deploy to Production (ARM - OCI) (push) Failing after 0s
BCards Deployment Pipeline / Cleanup Old Resources (push) Has been skipped
BCards Deployment Pipeline / Deployment Summary (push) Successful in 0s
Some checks failed
BCards Deployment Pipeline / Run Tests (push) Successful in 2s
BCards Deployment Pipeline / PR Validation (push) Has been skipped
BCards Deployment Pipeline / Build and Push Image (push) Successful in 9m59s
BCards Deployment Pipeline / Deploy to Test (x86 - Local) (push) Has been skipped
BCards Deployment Pipeline / Deploy to Production (ARM - OCI) (push) Failing after 0s
BCards Deployment Pipeline / Cleanup Old Resources (push) Has been skipped
BCards Deployment Pipeline / Deployment Summary (push) Successful in 0s
This commit is contained in:
parent
3f4fed08d5
commit
dc75f4af54
@ -89,7 +89,7 @@ jobs:
|
||||
|
||||
build-and-push:
|
||||
name: Build and Push Image
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: [self-hosted, arm64, bcards]
|
||||
needs: [test]
|
||||
# Só faz build/push em push (não em PR)
|
||||
if: github.event_name == 'push' && (needs.test.result == 'success' || needs.test.result == 'skipped')
|
||||
@ -184,7 +184,7 @@ jobs:
|
||||
|
||||
deploy-production:
|
||||
name: Deploy to Production (ARM - OCI)
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: [self-hosted, arm64, bcards]
|
||||
needs: [build-and-push]
|
||||
if: github.ref_name == 'main'
|
||||
environment: production
|
||||
@ -539,7 +539,7 @@ jobs:
|
||||
|
||||
deploy-test:
|
||||
name: Deploy to Test (x86 - Local)
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: [self-hosted, arm64, bcards]
|
||||
needs: [build-and-push]
|
||||
if: startsWith(github.ref_name, 'Release/')
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user