Skip to content

Commit

Permalink
Added image push
Browse files Browse the repository at this point in the history
  • Loading branch information
kchudy committed Jul 21, 2023
1 parent bb692eb commit b0483a2
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,22 @@ jobs:

steps:
- uses: actions/checkout@v3

- name: Run tests
run: cargo test --verbose
- name: Build the Docker image
run: docker build . --file Dockerfile --tag vonage-to-matrix:${{github.run_number}}

- name: Log in to Docker Hub
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build and push Docker image
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
with:
context: .
file: ./Dockerfile
push: true
tags: vonage-to-matrix:${{github.run_number}}


0 comments on commit b0483a2

Please sign in to comment.