Compare commits
7 commits
3630eaa58d
...
a94b0a8096
Author | SHA1 | Date | |
---|---|---|---|
|
a94b0a8096 | ||
5ffae82adb | |||
c0bb7c91b8 | |||
836cf65a7a | |||
7251927e93 | |||
fb80b6f92e | |||
feb5855c4d |
2 changed files with 36 additions and 21 deletions
|
@ -12,20 +12,35 @@ jobs:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set repository name to lowercase
|
- name: Deploy to OCI Registry
|
||||||
run: echo "REPO_NAME=$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV
|
uses: https://git.smgames.club/SevenOfAces/PublishImage@main
|
||||||
|
with:
|
||||||
|
registry-url: 'git.smgames.club'
|
||||||
|
registry-token: ${{ secrets.DOCKER_TOKEN }}
|
||||||
|
architectures: 'amd64,arm64'
|
||||||
|
tags: 'latest'
|
||||||
|
name: 'auto'
|
||||||
|
dockerfile: './Dockerfile'
|
||||||
|
owner: 'SevenOfAces'
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
# - name: Set repository name to lowercase
|
||||||
uses: docker/setup-buildx-action@v3
|
# run: echo "REPO_NAME=$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Authenticate with registry
|
# - name: Set up Docker
|
||||||
run: docker login git.smgames.club -u ${{ github.repository_owner }} -p ${{ secrets.DOCKER_TOKEN }}
|
# uses: https://github.com/docker-practice/actions-setup-docker@master
|
||||||
|
# timeout-minutes: 12
|
||||||
|
|
||||||
- name: Build and push multi-architecture Docker image
|
# - name: Set up Docker Buildx
|
||||||
run: |
|
# uses: docker/setup-buildx-action@v3
|
||||||
docker buildx create --use
|
|
||||||
docker buildx build \
|
# - name: Authenticate with registry
|
||||||
--platform linux/amd64,linux/arm64 \
|
# run: docker login git.smgames.club -u ${{ github.repository_owner }} -p ${{ secrets.DOCKER_TOKEN }}
|
||||||
--tag git.smgames.club/${{ env.REPO_NAME }}:latest \
|
|
||||||
--push \
|
# - name: Build and push multi-architecture Docker image
|
||||||
.
|
# run: |
|
||||||
|
# docker buildx create --use
|
||||||
|
# docker buildx build \
|
||||||
|
# --platform linux/amd64,linux/arm64 \
|
||||||
|
# --tag git.smgames.club/${{ env.REPO_NAME }}:latest \
|
||||||
|
# --push \
|
||||||
|
# .
|
||||||
|
|
14
package-lock.json
generated
14
package-lock.json
generated
|
@ -2308,13 +2308,13 @@
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/@types/node": {
|
"node_modules/@types/node": {
|
||||||
"version": "22.9.0",
|
"version": "22.13.9",
|
||||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.9.0.tgz",
|
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.13.9.tgz",
|
||||||
"integrity": "sha512-vuyHg81vvWA1Z1ELfvLko2c8f34gyA0zaic0+Rllc5lbCnbSyuvb2Oxpm6TAUAC/2xZN3QGqxBNggD1nNR2AfQ==",
|
"integrity": "sha512-acBjXdRJ3A6Pb3tqnw9HZmyR3Fiol3aGxRCK1x3d+6CDAMjl7I649wpSd+yNURCjbOUGu9tqtLKnTGxmK6CyGw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"undici-types": "~6.19.8"
|
"undici-types": "~6.20.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@types/sinonjs__fake-timers": {
|
"node_modules/@types/sinonjs__fake-timers": {
|
||||||
|
@ -9549,9 +9549,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/undici-types": {
|
"node_modules/undici-types": {
|
||||||
"version": "6.19.8",
|
"version": "6.20.0",
|
||||||
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz",
|
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.20.0.tgz",
|
||||||
"integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==",
|
"integrity": "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue