working pipeline
This commit is contained in:
11
.github/workflows/cd-backend.yml
vendored
11
.github/workflows/cd-backend.yml
vendored
@@ -10,6 +10,9 @@ jobs:
|
||||
docker:
|
||||
runs-on: ubuntu-latest
|
||||
environment: battleship
|
||||
permissions:
|
||||
id-token: write
|
||||
contents: read
|
||||
steps:
|
||||
-
|
||||
name: Login to Docker Hub
|
||||
@@ -28,13 +31,7 @@ jobs:
|
||||
tags: ${{ secrets.DOCKER_IMAGE_PATH }}:${{ github.sha }}
|
||||
cache-from: type=registry,ref=${{ secrets.DOCKER_IMAGE_PATH }}:buildcache
|
||||
cache-to: type=registry,ref=${{ secrets.DOCKER_IMAGE_PATH }}:buildcache,mode=max
|
||||
azure:
|
||||
runs-on: ubuntu-latest
|
||||
environment: battleship
|
||||
permissions:
|
||||
id-token: write
|
||||
contents: read
|
||||
steps:
|
||||
|
||||
-
|
||||
name: Azure login
|
||||
uses: azure/login@v2
|
||||
|
Reference in New Issue
Block a user