Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2021399a10 | |||
| 2cefdaa85d | |||
| db0cde6497 | |||
| 89e353a135 | |||
| 1c60201ba8 | |||
| ea183a08b5 | |||
| eca6853b39 |
@@ -61,6 +61,8 @@ jobs:
|
|||||||
username = "${{ secrets.DOCKER_USERNAME }}"
|
username = "${{ secrets.DOCKER_USERNAME }}"
|
||||||
password = "${{ secrets.DOCKER_PASSWORD }}"
|
password = "${{ secrets.DOCKER_PASSWORD }}"
|
||||||
|
|
||||||
|
- run: ls -lha
|
||||||
|
|
||||||
- name: Build and Push Docker latest Image
|
- name: Build and Push Docker latest Image
|
||||||
if: gitea.ref == 'refs/heads/main'
|
if: gitea.ref == 'refs/heads/main'
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
|
|||||||
+5
-1
@@ -1,4 +1,4 @@
|
|||||||
FROM mirror.gcr.io/alpine:latest
|
FROM docker.hnrx.net/alpine:latest
|
||||||
|
|
||||||
RUN mkdir /config
|
RUN mkdir /config
|
||||||
|
|
||||||
@@ -13,6 +13,10 @@ COPY index.html .
|
|||||||
# Copy the servers.json file
|
# Copy the servers.json file
|
||||||
# COPY servers.json .
|
# COPY servers.json .
|
||||||
|
|
||||||
|
RUN ls -la /root/
|
||||||
|
|
||||||
|
RUN chmod +x ./manage-servers
|
||||||
|
|
||||||
# Expose the port the web server listens on
|
# Expose the port the web server listens on
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -2,7 +2,7 @@ version: '3.8'
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
manage-servers:
|
manage-servers:
|
||||||
image: git.hnrx.net/hnrx/manage-servers:v0.0.2
|
image: git.hnrx.net/hnrx/manage-servers:v0.1.1
|
||||||
container_name: manage-servers
|
container_name: manage-servers
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
labels:
|
labels:
|
||||||
|
|||||||
+2
-2
@@ -4,8 +4,8 @@
|
|||||||
{
|
{
|
||||||
"packageNames": [
|
"packageNames": [
|
||||||
"@actions/artifact",
|
"@actions/artifact",
|
||||||
"upload-artifact",
|
"actions/upload-artifact",
|
||||||
"download-artifact"
|
"actions/download-artifact"
|
||||||
],
|
],
|
||||||
"enabled": false
|
"enabled": false
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user