Skip to content

Commit

Permalink
Update dockerhub-push.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
eipi1 authored Jun 9, 2021
1 parent ca791db commit 4a8d67e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/dockerhub-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@ jobs:
exit 1
fi
echo "version=$PKG_VERSION" >> "$GITHUB_ENV"
echo "suffix=" >> "$GITHUB_ENV"
else
echo "version=latest" >> "$GITHUB_ENV"
echo "suffix=-snapshot" >> "$GITHUB_ENV"
fi
- name: Build cluster
run: cargo build --bins --features "cluster" --release
Expand All @@ -44,7 +46,7 @@ jobs:
with:
context: .
push: true
tags: mdsarowar/overload:${{ env.version }}-cluster-snapshot
tags: mdsarowar/overload:${{ env.version }}-cluster${{ env.suffix }}
- name: Run standalone tests
run: cargo test --verbose
- name: Build standalone
Expand All @@ -54,4 +56,4 @@ jobs:
with:
context: .
push: true
tags: mdsarowar/overload:${{ env.version }}-standalone-snapshot
tags: mdsarowar/overload:${{ env.version }}-standalone${{ env.suffix }}

0 comments on commit 4a8d67e

Please sign in to comment.