Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2061bb29c0 | |||
| fe774f8009 | |||
| 2021399a10 | |||
| 2cefdaa85d | |||
| db0cde6497 | |||
| 89e353a135 | |||
| 1c60201ba8 | |||
| ea183a08b5 | |||
| eca6853b39 |
@@ -61,6 +61,8 @@ jobs:
|
||||
username = "${{ secrets.DOCKER_USERNAME }}"
|
||||
password = "${{ secrets.DOCKER_PASSWORD }}"
|
||||
|
||||
- run: ls -lha
|
||||
|
||||
- name: Build and Push Docker latest Image
|
||||
if: gitea.ref == 'refs/heads/main'
|
||||
uses: docker/build-push-action@v6
|
||||
|
||||
+9
-5
@@ -1,8 +1,10 @@
|
||||
FROM mirror.gcr.io/alpine:latest
|
||||
FROM docker.hnrx.net/alpine:latest
|
||||
|
||||
RUN mkdir /config
|
||||
# Create application directory
|
||||
RUN mkdir -p /app/config
|
||||
|
||||
WORKDIR /root/
|
||||
# Set working directory
|
||||
WORKDIR /app/
|
||||
|
||||
# Copy the compiled binary from the builder stage
|
||||
COPY manage-servers .
|
||||
@@ -10,8 +12,10 @@ COPY manage-servers .
|
||||
# Copy the index.html file for the web server
|
||||
COPY index.html .
|
||||
|
||||
# Copy the servers.json file
|
||||
# COPY servers.json .
|
||||
RUN ls -la /app/
|
||||
|
||||
# Make the binary executable
|
||||
RUN chmod +x ./manage-servers
|
||||
|
||||
# Expose the port the web server listens on
|
||||
EXPOSE 8080
|
||||
|
||||
+2
-2
@@ -2,7 +2,7 @@ version: '3.8'
|
||||
|
||||
services:
|
||||
manage-servers:
|
||||
image: git.hnrx.net/hnrx/manage-servers:v0.0.2
|
||||
image: git.hnrx.net/hnrx/manage-servers:v0.1.3
|
||||
container_name: manage-servers
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
@@ -14,7 +14,7 @@ services:
|
||||
- "traefik.http.routers.manage-servers.tls.certresolver=cloudflare"
|
||||
- "traefik.http.services.manage-servers.loadbalancer.server.port=8080"
|
||||
volumes:
|
||||
- /volume1/docker-data/manage-servers:/config
|
||||
- /volume1/docker-data/manage-servers:/app/config
|
||||
networks:
|
||||
- my-container-macvlan-200
|
||||
|
||||
|
||||
+2
-2
@@ -4,8 +4,8 @@
|
||||
{
|
||||
"packageNames": [
|
||||
"@actions/artifact",
|
||||
"upload-artifact",
|
||||
"download-artifact"
|
||||
"actions/upload-artifact",
|
||||
"actions/download-artifact"
|
||||
],
|
||||
"enabled": false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user