This commit is contained in:
parent
775ec2d988
commit
1686551ab3
@ -12,26 +12,24 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
# - name: Set up Docker Buildx
|
||||
# uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
registry: git.fascinated.cc
|
||||
# - name: Login to Docker Hub
|
||||
# uses: docker/login-action@v3
|
||||
# with:
|
||||
# username: ${{ secrets.REGISTRY_USERNAME }}
|
||||
# password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
# registry: git.fascinated.cc
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags: git.fascinated.cc/fascinated/scoresaber-reloaded:latest
|
||||
build-args: |
|
||||
GIT_REV=${{ gitea.sha }}
|
||||
cache-from: type=registry,ref=git.fascinated.cc/fascinated/scoresaber-reloaded:cache
|
||||
cache-to: type=registry,ref=git.fascinated.cc/fascinated/scoresaber-reloaded:cache,mode=max
|
||||
# - name: Build and push
|
||||
# uses: docker/build-push-action@v6
|
||||
# with:
|
||||
# context: .
|
||||
# push: true
|
||||
# tags: git.fascinated.cc/fascinated/scoresaber-reloaded:latest
|
||||
# build-args: |
|
||||
# GIT_REV=${{ gitea.sha }}
|
||||
|
||||
- name: Install kubectl
|
||||
run: sudo apt-get install -y kubectl
|
||||
|
Reference in New Issue
Block a user