Skip to content

Commit

Permalink
upd(workflow)
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalyu committed May 1, 2024
1 parent d8b1d8b commit 599e61e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 48 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: CI
on:
push:
branches:
- main
- release-*
- dodo
# - release-*
pull_request: {}

env:
Expand Down Expand Up @@ -168,8 +168,6 @@ jobs:
build-arch: ${{ matrix.build-arch }}
ref: ${{ github.ref }}
secrets:
# GHCR_USERNAME: ${{ secrets.GHCR_USERNAME }}
# GHCR_TOKEN: ${{ secrets.GHCR_TOKEN }}
GHCR_USERNAME: ${{ github.actor }}
GHCR_TOKEN: ${{ secrets.GITHUB_TOKEN }}

40 changes: 0 additions & 40 deletions .github/workflows/dodo-build-image.yml

This file was deleted.

8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ jobs:
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 # v3.1.0
with:
registry: ghcr.io
username: ${{ secrets.GHCR_USERNAME }}
password: ${{ secrets.GHCR_TOKEN }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Promote Container Image
run: make docker.promote
Expand All @@ -108,8 +108,8 @@ jobs:
with:
image-name: ${{ env.IMAGE_NAME }}
image-tag: ${{ env.RELEASE_TAG }}
GHCR_USERNAME: ${{ secrets.GHCR_USERNAME }}
GHCR_TOKEN: ${{ secrets.GHCR_TOKEN }}
GHCR_USERNAME: ${{ github.actor }}
GHCR_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Update Release
Expand Down

0 comments on commit 599e61e

Please sign in to comment.