Update deploy.yml

This commit is contained in:
2024-03-30 17:15:38 +03:00
committed by GitHub
parent c075664ddd
commit dbc85714a6

View File

@@ -6,10 +6,10 @@ env:
NAMESPACE: "landing"
jobs:
build:
runs-on: [arc-runner-set]
runs-on: self-hosted
steps:
- name: Get repository
uses: actions/checkout@v2
uses: actions/checkout@v4
- run: docker login -u ${{ secrets.DOCKER_REGISTRY_USER }} -p ${{ secrets.DOCKER_REGISTRY_PASSWORD }} "${{ secrets.DOCKER_REGISTRY }}"
- name: Build
run: docker build -t "${{ env.DOCKER_TAG }}" .
@@ -19,7 +19,7 @@ jobs:
deploy:
needs:
- build
runs-on: [arc-runner-set]
runs-on: self-hosted
steps:
- run: docker login -u ${{ secrets.DOCKER_REGISTRY_USER }} -p ${{ secrets.DOCKER_REGISTRY_PASSWORD }} "${{ secrets.DOCKER_REGISTRY }}"
- run: |