Skip to content

Commit

Permalink
fix release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
clbx committed May 27, 2024
1 parent f47d32e commit a369b67
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,25 +56,25 @@ jobs:
LICENSE
build-image:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v5
with:
context: Dockerfiles
file: ./Dockerfile
push: true
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/kubectl-browse-pvc:latest
${{ secrets.DOCKERHUB_USERNAME }}/kubectl-browse-pvc:${{ github.ref_name }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v5
with:
context: Dockerfiles
file: ./Dockerfile
push: true
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/kubectl-browse-pvc:latest
${{ secrets.DOCKERHUB_USERNAME }}/kubectl-browse-pvc:${{ github.ref_name }}
create-release:
runs-on: ubuntu-latest
needs: [build-darwin, build-linux]
Expand Down

0 comments on commit a369b67

Please sign in to comment.