Skip to content

Commit

Permalink
Tweak the docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenc committed Jul 11, 2020
1 parent 6737581 commit 5db9c09
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ jobs:
run: |
mkdir -p target
docker build --tag juxr:build --target build .
docker build --tag juxr:latest .
docker build --tag juxr:latest --tag juxr:${{ github.ref }} .
ID=$(docker run -d juxr:build cat)
docker cp $ID:/home/rust/.cargo/bin/juxr ./target/
docker rm --force $ID
Expand All @@ -188,6 +188,15 @@ jobs:
uses: mr-smithers-excellent/docker-build-push@v3
with:
image: stephenc/juxr
tag: latest
registry: docker.pkg.github.com
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker push
uses: mr-smithers-excellent/docker-build-push@v3
with:
image: stephenc/juxr
tag: ${{ github.ref }}
registry: docker.pkg.github.com
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 5db9c09

Please sign in to comment.