Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
there was a error with release of new version and we think think it's related to this. Goreleaser should already publich to docker. We will check. More: #195
  • Loading branch information
refaktor committed Aug 4, 2024
1 parent 36b71f2 commit 7a032fc
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,27 +152,27 @@ jobs:
--certificate-identity-regexp '^https://github.com/slsa-framework/slsa-github-generator/.github/workflows/generator_container_slsa3.yml@refs/tags/v[0-9]+.[0-9]+.[0-9]+$' \
$IMAGE@$DIGEST
docker-publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Login
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build Image
run: |
cp .docker/Dockerfile .
docker buildx build -t "refaktor/rye:latest" .
docker buildx build -t "refaktor/rye:${GITHUB_REF_NAME}" .
- name: Release
run: |
docker push "refaktor/rye:latest"
docker push "refaktor/rye:${GITHUB_REF_NAME}"
# docker-publish:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v4
#
# - name: Login
# uses: docker/login-action@v3
# with:
# registry: ghcr.io
# username: ${{ github.actor }}
# password: ${{ secrets.GITHUB_TOKEN }}
#
# - name: Build Image
# run: |
# cp .docker/Dockerfile .
# docker buildx build -t "refaktor/rye:latest" .
# docker buildx build -t "refaktor/rye:${GITHUB_REF_NAME}" .
#
# - name: Release
# run: |
# docker push "refaktor/rye:latest"
# docker push "refaktor/rye:${GITHUB_REF_NAME}"

0 comments on commit 7a032fc

Please sign in to comment.