This commit is contained in:
@@ -10,19 +10,14 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Log in to i80 registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: registry.i80.dk
|
||||
username: ${{ secrets.REGISTRY_USER }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
- name: Build Docker image
|
||||
run: docker build -t registry.i80.dk/moneycapp-tink-demo:latest .
|
||||
|
||||
- name: Build and push Docker image
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags: registry.i80.dk/moneycapp-tink-demo:latest
|
||||
- name: Push to i80 registry
|
||||
run: |
|
||||
echo "${{ secrets.REGISTRY_TOKEN }}" | docker login registry.i80.dk \
|
||||
-u "${{ secrets.REGISTRY_USER }}" --password-stdin
|
||||
docker push registry.i80.dk/moneycapp-tink-demo:latest
|
||||
|
||||
- name: Deploy to Nomad
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user