lets try this upload
This commit is contained in:
parent
9afe148228
commit
b117f9b677
|
|
@ -13,18 +13,15 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
- name: Build and push Docker image
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: .
|
||||
file: aprsc.dockerfile
|
||||
push: true
|
||||
tags: peterus/aprsc
|
||||
- name: docker hub login
|
||||
env:
|
||||
DOCKER_USER: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
DOCKER_PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
run: docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
|
||||
- name: Build the aprsc image
|
||||
run: docker build . --file aprsc.dockerfile --tag peterus/aprsc:latest
|
||||
- name: Docker Push
|
||||
run: docker push ${{ secrets.DOCKERHUB_USERNAME }}/aprsc:latest
|
||||
# - name: Build and push Docker image
|
||||
# uses: docker/build-push-action@v2
|
||||
# with:
|
||||
|
|
|
|||
Loading…
Reference in New Issue