Skip to content

Commit

Permalink
Attempt to get Docker builds
Browse files Browse the repository at this point in the history
  • Loading branch information
EpicnessTwo committed Oct 6, 2023
1 parent 4d4b60d commit c88ffed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,8 @@ jobs:
id: commit_sha
run: echo "::set-output name=SHA::$(git rev-parse --short ${{ github.sha }})"
- name: Build the Docker image
run: docker build . --file Dockerfile --tag dualping:${{ steps.commit_sha.outputs.SHA }}
run: |
docker build . --file Dockerfile --tag dualping:${{ steps.commit_sha.outputs.SHA }}
echo ${{ secrets.GITHUB_TOKEN }} | docker login docker.pkg.github.com -u ${{ github.repository_owner }} --password-stdin
docker tag dualping:${{ steps.commit_sha.outputs.SHA }} docker.pkg.github.com/${{ github.repository }}/dualping:${{ steps.commit_sha.outputs.SHA }}
docker push docker.pkg.github.com/${{ github.repository }}/dualping:${{ steps.commit_sha.outputs.SHA }}
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# DualPing

0 comments on commit c88ffed

Please sign in to comment.