Compare commits
7 commits
7b424a4f5e
...
c5d94aff1b
Author | SHA1 | Date | |
---|---|---|---|
|
c5d94aff1b | ||
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
|
@ -4223,9 +4223,9 @@
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/cross-spawn": {
|
"node_modules/cross-spawn": {
|
||||||
"version": "7.0.5",
|
"version": "7.0.6",
|
||||||
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.5.tgz",
|
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
|
||||||
"integrity": "sha512-ZVJrKKYunU38/76t0RMOulHOnUcbU9GbpWKAOZ0mhjr7CX6FVrH+4FrAapSOekrgFQ3f/8gwMEuIft0aKq6Hug==",
|
"integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -7277,14 +7277,14 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/npm-run-all2": {
|
"node_modules/npm-run-all2": {
|
||||||
"version": "7.0.1",
|
"version": "7.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/npm-run-all2/-/npm-run-all2-7.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/npm-run-all2/-/npm-run-all2-7.0.2.tgz",
|
||||||
"integrity": "sha512-Adbv+bJQ8UTAM03rRODqrO5cx0YU5KCG2CvHtSURiadvdTjjgGJXdbc1oQ9CXBh9dnGfHSoSB1Web/0Dzp6kOQ==",
|
"integrity": "sha512-7tXR+r9hzRNOPNTvXegM+QzCuMjzUIIq66VDunL6j60O4RrExx32XUhlrS7UK4VcdGw5/Wxzb3kfNcFix9JKDA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"ansi-styles": "^6.2.1",
|
"ansi-styles": "^6.2.1",
|
||||||
"cross-spawn": "^7.0.3",
|
"cross-spawn": "^7.0.6",
|
||||||
"memorystream": "^0.3.1",
|
"memorystream": "^0.3.1",
|
||||||
"minimatch": "^9.0.0",
|
"minimatch": "^9.0.0",
|
||||||
"pidtree": "^0.6.0",
|
"pidtree": "^0.6.0",
|
||||||
|
|
Loading…
Add table
Reference in a new issue