From 9afe148228533135ff8a0d84b1979c10d9e17fec Mon Sep 17 00:00:00 2001 From: Peter Buchegger Date: Mon, 31 Jan 2022 22:37:05 +0100 Subject: [PATCH] try to upload docker image --- .github/workflows/image_build.yml | 52 ++++++++++++++----------------- 1 file changed, 23 insertions(+), 29 deletions(-) diff --git a/.github/workflows/image_build.yml b/.github/workflows/image_build.yml index 49e8561..a36e85f 100644 --- a/.github/workflows/image_build.yml +++ b/.github/workflows/image_build.yml @@ -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 +#