try to upload docker image

This commit is contained in:
Peter Buchegger 2022-01-31 22:37:05 +01:00
parent da50871df5
commit 9afe148228
1 changed files with 23 additions and 29 deletions

View File

@ -7,16 +7,9 @@ name: Create and publish a Docker image
on: [push, pull_request]
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
docker:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v2
@ -31,25 +24,26 @@ jobs:
context: .
file: aprsc.dockerfile
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/aprsc:latest
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
file: db.dockerfile
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/trackdirect-db:latest
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
file: trackdirect-apache.dockerfile
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/trackdirect-apache:latest
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
file: trackdirect-python2.dockerfile
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/trackdirect-python2:latest
tags: peterus/aprsc
# - name: Build and push Docker image
# uses: docker/build-push-action@v2
# with:
# context: .
# file: db.dockerfile
# push: true
# tags: ${{ secrets.DOCKERHUB_USERNAME }}/trackdirect-db:latest
# - name: Build and push Docker image
# uses: docker/build-push-action@v2
# with:
# context: .
# file: trackdirect-apache.dockerfile
# push: true
# tags: ${{ secrets.DOCKERHUB_USERNAME }}/trackdirect-apache:latest
# - name: Build and push Docker image
# uses: docker/build-push-action@v2
# with:
# context: .
# file: trackdirect-python2.dockerfile
# push: true
# tags: ${{ secrets.DOCKERHUB_USERNAME }}/trackdirect-python2:latest
#