2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-13 02:25:38 +00:00

Cleanup docker files

This commit is contained in:
Oliver Walters
2021-04-18 15:17:57 +10:00
parent 83002a5d51
commit 270c0ea85d
9 changed files with 22 additions and 45 deletions

View File

@ -11,8 +11,6 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Build Server Image
run: cd docker/inventree && docker build . --tag inventree:$(date +%s)
- name: Build nginx Image
run: cd docker/nginx && docker build . --tag nxinx:$(date +%s)
- name: Build Docker Image
run: cd docker && docker build . --tag inventree:$(date +%s)

View File

@ -7,7 +7,7 @@ on:
types: [published]
jobs:
server_image:
publish_image:
name: Push InvenTree web server image to dockerhub
runs-on: ubuntu-latest
steps:
@ -20,19 +20,4 @@ jobs:
password: ${{ secrets.DOCKER_PASSWORD }}
repository: inventree/inventree
tag_with_ref: true
dockerfile: docker/inventree/Dockerfile
nginx_image:
name: Push InvenTree nginx image to dockerhub
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v2
- name: Push to Docker Hub
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: inventree/nginx
tag_with_ref: true
dockerfile: docker/nginx/Dockerfile
dockerfile: docker/Dockerfile