Skip to content

Commit

Permalink
changing to branch push build
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronhmiller authored Jan 5, 2023
1 parent 9b8e07e commit 2916b7c
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Docker Hub CI
name: Branch Docker Hub CI

on:
push:
Expand All @@ -25,12 +25,12 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
name: Untagged build and push
uses: docker/build-push-action@v3
with:
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/crud-app:latest
platforms: linux/amd64,linux/arm64
file: ./app/Dockerfile
context: ./app
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/${{ github.event.repository.name }}:latest
platforms: linux/amd64,linux/arm64

0 comments on commit 2916b7c

Please sign in to comment.