Skip to content

Commit

Permalink
clean up container action
Browse files Browse the repository at this point in the history
  • Loading branch information
dylansnyk committed Mar 24, 2024
1 parent 4d64b16 commit 4a441b0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/container-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,23 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@master

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
# - name: Set up QEMU
# uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v3

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
# - name: Login to Docker Hub
# uses: docker/login-action@v3
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v5
with:
push: true
tags: troysnyk/snyk-juice-shop:linux
# - name: Build and push
# uses: docker/build-push-action@v5
# with:
# push: true
# tags: troysnyk/snyk-juice-shop:linux

- uses: snyk/actions/setup@master
- name: Snyk Container Monitor
Expand Down
2 changes: 1 addition & 1 deletion _build_flag
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Build now!
Build now!!

0 comments on commit 4a441b0

Please sign in to comment.