Update deploy.yml
This commit is contained in:
6
.github/workflows/deploy.yml
vendored
6
.github/workflows/deploy.yml
vendored
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user