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