mirror of
https://github.com/skoobasteeve/MTAPI-docker.git
synced 2026-03-20 03:28:57 +00:00
clone upstream repo within build
This commit is contained in:
6
.github/workflows/docker-publish-local.yml
vendored
6
.github/workflows/docker-publish-local.yml
vendored
@@ -19,12 +19,6 @@ jobs:
|
|||||||
- name: Check out the repo
|
- name: Check out the repo
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Check out MTAPI repo
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
repository: jonthornton/MTAPI
|
|
||||||
path: MTAPI
|
|
||||||
|
|
||||||
- name: Log in to Docker Hub
|
- name: Log in to Docker Hub
|
||||||
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
|
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -37,13 +37,6 @@ jobs:
|
|||||||
if: ${{ env.SEC_SINCE_UPDATE < 86400 }}
|
if: ${{ env.SEC_SINCE_UPDATE < 86400 }}
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Check out MTAPI repo
|
|
||||||
if: ${{ env.SEC_SINCE_UPDATE < 86400 }}
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
repository: jonthornton/MTAPI
|
|
||||||
path: MTAPI
|
|
||||||
|
|
||||||
- name: Log in to Docker Hub
|
- name: Log in to Docker Hub
|
||||||
if: ${{ env.SEC_SINCE_UPDATE < 86400 }}
|
if: ${{ env.SEC_SINCE_UPDATE < 86400 }}
|
||||||
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
|
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
|
||||||
|
|||||||
@@ -3,7 +3,9 @@ WORKDIR /app
|
|||||||
|
|
||||||
LABEL com.skoobasteeve.mtapi-docker.version="main"
|
LABEL com.skoobasteeve.mtapi-docker.version="main"
|
||||||
|
|
||||||
ADD MTAPI .
|
RUN apk add --no-cache git
|
||||||
|
RUN git clone https://github.com/jonthornton/MTAPI.git /app
|
||||||
|
|
||||||
COPY data/stations.json data/
|
COPY data/stations.json data/
|
||||||
COPY data/stations.csv data/
|
COPY data/stations.csv data/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user