Skip to content

Commit

Permalink
Docker buildx with k8s without specifying endpoint argument
Browse files Browse the repository at this point in the history
Signed-off-by: Yash Sethiya <yashsethiya97@gmail.com>
  • Loading branch information
sethiyash committed Mar 21, 2024
1 parent aeddfe8 commit 209dc67
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release-process.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@ jobs:
id-token: write
steps:
- name: Check out code
uses: actions/checkout@v3.5.2
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install Carvel Tools
run: ./hack/install-deps.sh

- name: Install imgpkg
uses: carvel-dev/setup-action@v1
uses: carvel-dev/setup-action@v2
with:
only: imgpkg
token: ${{ secrets.GITHUB_TOKEN }}

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
uses: docker/login-action@v3.1.0
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand All @@ -42,13 +42,13 @@ jobs:
go-version: 1.21.6

- name: Set up Cosign
uses: sigstore/cosign-installer@v3
uses: sigstore/cosign-installer@v3.4.0

- name: Run release script
run: |
set -e -x
minikube start --driver=docker --wait=all
docker buildx create minikube --use --driver=kubernetes --bootstrap
docker buildx create --name minikube --use --driver=kubernetes --bootstrap
./hack/build-release.sh
# Create release folder to store all the output artifacts
mkdir release
Expand Down Expand Up @@ -220,7 +220,7 @@ jobs:
--certificate-oidc-issuer=https://token.actions.githubusercontent.com ./tmp/checksums.txt
- name: Create release draft and upload release yaml
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844
uses: softprops/action-gh-release@v2.0.2
with:
name: ${{ github.ref_name }}
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -232,7 +232,7 @@ jobs:
prerelease: true

- name: Get uploaded release YAML checksum
uses: actions/github-script@v6
uses: actions/github-script@v7.0.1
id: get-checksums-from-draft-release
if: startsWith(github.ref, 'refs/tags/')
with:
Expand Down

0 comments on commit 209dc67

Please sign in to comment.