Skip to content

Commit

Permalink
update github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
amirhakh committed Jul 12, 2020
1 parent 9903e33 commit 776d288
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ jobs:
- name: Build the Docker images
run: |
cd docker-tools
docker build -t utnetlab/term -t utnetlab/term:${{ github.ref }} -f term2.Dockerfile .
docker build -t utnetlab/gui -t utnetlab/gui:${{ github.ref }} -f gui2.web.Dockerfile .
refName=${{ github.ref }}
refName=$(echo $refName | cut -d / -f 3)
docker build -t utnetlab/term -t utnetlab/term:$refName -f term2.Dockerfile .
docker build -t utnetlab/gui -t utnetlab/gui:$refName -f gui2.web.Dockerfile .
- name: Compress the Docker images
run: |
docker save utnetlab/term | xz -7 > utnetlab_term.tar.xz
Expand Down

0 comments on commit 776d288

Please sign in to comment.