This commit is contained in:
parent
b57e5dca70
commit
15d35b5817
@ -9,8 +9,6 @@ jobs:
|
|||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- run: echo ${{ gitea.sha }}
|
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
@ -19,20 +17,19 @@ jobs:
|
|||||||
|
|
||||||
- name: Login to Docker Hub
|
- name: Login to Docker Hub
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
env:
|
|
||||||
GIT_REV: "${{ gitea.sha }}"
|
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||||
registry: git.fascinated.cc
|
registry: git.fascinated.cc
|
||||||
build-args: |
|
|
||||||
GIT_REV=${{ gitea.sha }}
|
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
|
context: .
|
||||||
push: true
|
push: true
|
||||||
tags: fascinated/scoresaber-reloaded:latest
|
tags: fascinated/scoresaber-reloaded:latest
|
||||||
|
build-args: |
|
||||||
|
GIT_REV=${{ gitea.sha }}
|
||||||
|
|
||||||
- name: Set up Kubectl
|
- name: Set up Kubectl
|
||||||
uses: azure/k8s-set-context@v1
|
uses: azure/k8s-set-context@v1
|
||||||
|
Reference in New Issue
Block a user