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
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set repository name to lowercase
|
||||
run: echo "REPO_NAME=$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV
|
||||
- name: Deploy to OCI Registry
|
||||
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
|
||||
uses: docker/setup-buildx-action@v3
|
||||
# - name: Set repository name to lowercase
|
||||
# run: echo "REPO_NAME=$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV
|
||||
|
||||
- name: Authenticate with registry
|
||||
run: docker login git.smgames.club -u ${{ github.repository_owner }} -p ${{ secrets.DOCKER_TOKEN }}
|
||||
# - name: Set up Docker
|
||||
# uses: https://github.com/docker-practice/actions-setup-docker@master
|
||||
# timeout-minutes: 12
|
||||
|
||||
- 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 \
|
||||
.
|
||||
# - name: Set up Docker Buildx
|
||||
# uses: docker/setup-buildx-action@v3
|
||||
|
||||
# - name: Authenticate with registry
|
||||
# run: docker login git.smgames.club -u ${{ github.repository_owner }} -p ${{ secrets.DOCKER_TOKEN }}
|
||||
|
||||
# - 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"
|
||||
},
|
||||
"node_modules/@types/node": {
|
||||
"version": "22.9.0",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.9.0.tgz",
|
||||
"integrity": "sha512-vuyHg81vvWA1Z1ELfvLko2c8f34gyA0zaic0+Rllc5lbCnbSyuvb2Oxpm6TAUAC/2xZN3QGqxBNggD1nNR2AfQ==",
|
||||
"version": "22.13.9",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.13.9.tgz",
|
||||
"integrity": "sha512-acBjXdRJ3A6Pb3tqnw9HZmyR3Fiol3aGxRCK1x3d+6CDAMjl7I649wpSd+yNURCjbOUGu9tqtLKnTGxmK6CyGw==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"undici-types": "~6.19.8"
|
||||
"undici-types": "~6.20.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@types/sinonjs__fake-timers": {
|
||||
|
@ -9549,9 +9549,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/undici-types": {
|
||||
"version": "6.19.8",
|
||||
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz",
|
||||
"integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==",
|
||||
"version": "6.20.0",
|
||||
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.20.0.tgz",
|
||||
"integrity": "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue