Skip to content

Commit

Permalink
update release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Gottox committed Nov 5, 2024
1 parent 28f092d commit edaae90
Showing 1 changed file with 6 additions and 19 deletions.
25 changes: 6 additions & 19 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,27 +46,14 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Build Docker Image
id: build-image
uses: redhat-actions/buildah-build@v2
- uses: withlazers/container-action@main
with:
archs: amd64, arm64
image: rustcloak-operator
tags: >
latest
${{ github.ref_name }}
containerfiles: ./Dockerfile

- name: Push to Dockerhub
if: startsWith(github.ref, 'refs/tags/v')
id: push-to-registry
uses: redhat-actions/push-to-registry@v2
with:
image: ${{ steps.build-image.outputs.image }}
tags: ${{ steps.build-image.outputs.tags }}
registry: docker.io/withlazers
username: gottox
repository: rustcloak
password: ${{ secrets.DOCKER_TOKEN }}
ref-tags: v${{ needs.prepare.outputs.op_version }}
dockerfile: ./Dockerfile
archs: "aarch64, amd64"


release:
needs:
Expand Down

0 comments on commit edaae90

Please sign in to comment.