Skip to content

Commit

Permalink
ci: build and push images at release
Browse files Browse the repository at this point in the history
  • Loading branch information
dkoshkin committed Feb 9, 2023
1 parent e6e64e8 commit 292b58c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,15 @@ jobs:
draft: true
files: out/*
body_path: _releasenotes/${{ env.RELEASE_TAG }}.md
- name: Login to Dockerhub Registry
uses: docker/login-action@v2
with:
username: ${{ secrets.NEXUS_USERNAME }}
password: ${{ secrets.NEXUS_PASSWORD }}
- name: Build and push docker images
run: |
export REGISTRY=docker.io/mesosphere
export PROD_REGISTRY=$REGISTRY
export TAG=${{ env.RELEASE_TAG }}
make ALL_ARCH="amd64 arm64" docker-build-all
make ALL_ARCH="amd64 arm64" docker-push-all

0 comments on commit 292b58c

Please sign in to comment.