Skip to content

Commit

Permalink
added dockerhub release (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
Avi-Robusta authored Jul 28, 2024
1 parent fc5c6cf commit 4957d9a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,19 @@ jobs:
poetry install --no-dev
poetry publish --build -u __token__ -p ${{ secrets.PYPI_PROJECT_TOKEN }}
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Release Docker CLI
if: "!github.event.release.prerelease"
run: |-
docker buildx build \
--platform linux/arm64,linux/amd64 \
--tag us-central1-docker.pkg.dev/genuine-flight-317411/devel/robusta-cli:${{env.RELEASE_VER}} \
--tag robustadev/robusta-cli:${{env.RELEASE_VER}} \
--tag us-central1-docker.pkg.dev/genuine-flight-317411/devel/robusta-cli \
--push \
--file Dockerfile \
Expand All @@ -85,4 +92,4 @@ jobs:
--tag us-central1-docker.pkg.dev/genuine-flight-317411/devel/robusta-cli:${{env.RELEASE_VER}} \
--push \
--file Dockerfile \
.
.

0 comments on commit 4957d9a

Please sign in to comment.