add login with sessian and cleanup
All checks were successful
Build and Push Docker Images / build (push) Successful in 2m34s
All checks were successful
Build and Push Docker Images / build (push) Successful in 2m34s
This commit is contained in:
@@ -10,6 +10,10 @@ jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
env:
|
||||
ACCESS_TOKEN_SECRET: ${{ secrets.ACCESS_TOKEN_SECRET }}
|
||||
REFRESH_TOKEN_SECRET: ${{ secrets.REFRESH_TOKEN_SECRET }}
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
@@ -32,6 +36,9 @@ jobs:
|
||||
- name: Build and Push Server
|
||||
run: |
|
||||
echo "🚀 Building Server..."
|
||||
docker buildx build --load -t crylia/japanese-srs-trainer-wanikani-server:latest -f server/Dockerfile server
|
||||
docker buildx build \
|
||||
--build-arg ACCESS_TOKEN_SECRET=${ACCESS_TOKEN_SECRET} \
|
||||
--build-arg REFRESH_TOKEN_SECRET=${REFRESH_TOKEN_SECRET} \
|
||||
--load -t crylia/japanese-srs-trainer-wanikani-server:latest -f server/Dockerfile server
|
||||
docker tag crylia/japanese-srs-trainer-wanikani-server:latest 192.168.0.26:5008/japanese-srs-trainer-wanikani-server:latest
|
||||
docker push 192.168.0.26:5008/japanese-srs-trainer-wanikani-server:latest
|
||||
|
||||
Reference in New Issue
Block a user