Update CICD to setup ssh agent
All checks were successful
Build and Push to Registry / build-and-push (push) Successful in 44s
All checks were successful
Build and Push to Registry / build-and-push (push) Successful in 44s
This commit is contained in:
parent
fbdbc0a699
commit
6c6f49417e
6
.github/workflows/dev.yml
vendored
6
.github/workflows/dev.yml
vendored
@ -15,6 +15,11 @@ jobs:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up SSH agent
|
||||
uses: webfactory/ssh-agent@v0.9.1
|
||||
with:
|
||||
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
@ -30,6 +35,7 @@ jobs:
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
ssh: default
|
||||
tags: |
|
||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
|
||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:dev
|
||||
|
Loading…
x
Reference in New Issue
Block a user