lets try this upload

This commit is contained in:
Peter Buchegger 2022-01-31 22:45:10 +01:00
parent 9afe148228
commit b117f9b677
1 changed files with 9 additions and 12 deletions

View File

@ -13,18 +13,15 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Login to Docker Hub - name: docker hub login
uses: docker/login-action@v1 env:
with: DOCKER_USER: ${{ secrets.DOCKERHUB_USERNAME }}
username: ${{ secrets.DOCKERHUB_USERNAME }} DOCKER_PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }}
password: ${{ secrets.DOCKERHUB_TOKEN }} run: docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
- name: Build and push Docker image - name: Build the aprsc image
uses: docker/build-push-action@v2 run: docker build . --file aprsc.dockerfile --tag peterus/aprsc:latest
with: - name: Docker Push
context: . run: docker push ${{ secrets.DOCKERHUB_USERNAME }}/aprsc:latest
file: aprsc.dockerfile
push: true
tags: peterus/aprsc
# - name: Build and push Docker image # - name: Build and push Docker image
# uses: docker/build-push-action@v2 # uses: docker/build-push-action@v2
# with: # with: