Run on node20
This commit is contained in:
@@ -15,14 +15,14 @@ env:
|
||||
jobs:
|
||||
|
||||
build-docker-image:
|
||||
runs-on: python
|
||||
runs-on: node20
|
||||
container:
|
||||
image: catthehacker/ubuntu:act-20.04
|
||||
steps:
|
||||
- name: Checkout Docker file
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ssh-key: ${{ secrets.SSH_DEVSOAP_PRIVATE_KEY }}
|
||||
ssh-key: ${{ secrets.SSH_JOHN_PRIVATE_KEY }}
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
- name: Login to Devsoap Container Registry
|
||||
@@ -46,11 +46,10 @@ jobs:
|
||||
deploy-to-production:
|
||||
if: ${{ always() && needs.build-docker-image.result == 'success' }}
|
||||
needs: build-docker-image
|
||||
runs-on: python
|
||||
runs-on: node20
|
||||
steps:
|
||||
- name: Checkout infrastructure config
|
||||
run: |
|
||||
echo "Cloning repository ${{ env.REPOSITORY_URL }}"
|
||||
git clone -v --depth=1 ${{ env.REPOSITORY_URL }} infra
|
||||
env:
|
||||
REPOSITORY_URL: ${{ env.GIT_REPO_USER }}@${{ env.GIT_REPO_INTERNAL }}:${{ env.DEVSOAP_INFRA_GIT_REPO }}
|
||||
|
||||
Reference in New Issue
Block a user