wf mqtt
This commit is contained in:
parent
a09c691e81
commit
317a682e27
18
.github/workflows/mqtt.yaml
vendored
18
.github/workflows/mqtt.yaml
vendored
|
|
@ -20,9 +20,6 @@ jobs:
|
||||||
-
|
-
|
||||||
name: Checkout
|
name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
-
|
|
||||||
name: Set up QEMU
|
|
||||||
uses: docker/setup-qemu-action@v1
|
|
||||||
-
|
-
|
||||||
name: Set up Docker Buildx
|
name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
|
|
@ -32,12 +29,11 @@ jobs:
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
||||||
-
|
-
|
||||||
name: Build and push
|
name: Build Docker image
|
||||||
uses: docker/build-push-action@v2
|
run: docker build -t ${{ secrets.DOCKERHUB_USERNAME }}/mqtt:latest -f backend/services/mtp/mqtt/build/Dockerfile .
|
||||||
with:
|
-
|
||||||
context: ../backend/services/mtp/mqtt/
|
name: Push Docker image to Docker Hub
|
||||||
file: ./build/Dockerfile
|
run: docker push ${{ secrets.DOCKERHUB_USERNAME }}/mqtt:latest
|
||||||
platforms: linux/amd64
|
|
||||||
push: true
|
|
||||||
tags: rogersacchelli/mqtt:latest
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user