Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
0ebb992280
|
|||
|
6758d1f0bf
|
|||
|
3a0225e635
|
|||
|
4258b0a7af
|
@@ -7,7 +7,7 @@ on:
|
||||
env:
|
||||
ENDPOINT: services-3
|
||||
STACK: mastodon
|
||||
IMAGE: com.devsoap/mastobot
|
||||
IMAGE: mastodon/mastobot
|
||||
TAG: ${{ gitea.ref_name }}
|
||||
CACHE_NAME: cache-python-dependencies-mastobot
|
||||
RUNNER_TOOL_CACHE: /toolcache
|
||||
@@ -15,16 +15,16 @@ env:
|
||||
jobs:
|
||||
|
||||
build-docker-image:
|
||||
runs-on: python
|
||||
runs-on: node20
|
||||
container:
|
||||
image: catthehacker/ubuntu:act-20.04
|
||||
image: catthehacker/ubuntu:act-24.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
|
||||
uses: docker/setup-buildx-action@v3
|
||||
- name: Login to Devsoap Container Registry
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
@@ -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