Skip to content

Commit

Permalink
Merge pull request #9 from 2i2c-org/docker_push
Browse files Browse the repository at this point in the history
Use docker push instead of r2d pushing capabilties.
  • Loading branch information
damianavila authored Jan 14, 2022
2 parents ca54be5 + a805bcc commit fa7eef0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- main
- test_and_push

jobs:
build:
Expand Down
15 changes: 13 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build container image
name: Test container image

on:
pull_request:
Expand All @@ -16,4 +16,15 @@ jobs:
with: # make sure username & password/token matches your registry
NO_PUSH: "true"
DOCKER_REGISTRY: "quay.io"
IMAGE_NAME: "2i2c/utoronto-image"
IMAGE_NAME: "2i2c/utoronto-image"
ADDITIONAL_TAG: "test"

- name: login to Quay.io
uses: docker/login-action@v1
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}

- name: docker push
run: docker push quay.io/2i2c/utoronto-image:test

0 comments on commit fa7eef0

Please sign in to comment.