Skip to content

Commit

Permalink
Update build_and_push.yaml
Browse files Browse the repository at this point in the history
Moving this back onto the specific branch as to not spam main
  • Loading branch information
joachimbbp authored Sep 11, 2024
1 parent 3fb638e commit 58f2282
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/build_and_push.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#TODO trigger when build finishes
#READ THIS:
#this file is on main only to test github actions. it is a WIP

name: Build And Push
on:
# push:
Expand All @@ -11,8 +13,12 @@ on:
jobs:
docker:
runs-on: ubuntu-latest
environment: docker_jbbp
steps:


- name: Verify Secrets
run: echo "Username is set to ${{ secrets.DOCKERHUB_USERNAME }}"

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
Expand All @@ -38,4 +44,4 @@ jobs:
uses: docker/build-push-action@v6
with:
push: true
tags: ${{ env.IMAGE_TAG }} #user/app:latest
tags: ${{ env.IMAGE_TAG }} #user/app:latest

0 comments on commit 58f2282

Please sign in to comment.