diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 9f90d32a..8354561f 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -32,11 +32,18 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 + - name: Login to GHCR + uses: docker/login-action@v2 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: GoReleaser run: make release env: GORELEASER_SKIP_VALIDATE: true - GITHUB_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} deploy-titus: runs-on: ubuntu-latest diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1ba3ad45..680cae84 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -26,8 +26,15 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 + - name: Login to GHCR + uses: docker/login-action@v2 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: GoReleaser run: make release env: RELEASE: true - GITHUB_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 1206f2a3..d6973824 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -57,7 +57,8 @@ Contains all the PRs that improved the code without changing the behaviours. - [#365](https://github.com/archway-network/archway/pull/356) - x/rewards genesis runs before x/genutil to correctly process genesis txs. - [#366](https://github.com/archway-network/archway/pull/366) - github actions should fetch tags as well -- [#368](https://github.com/archway-network/archway/pull/368) - github actions should fetch tags as well for deploy workflwo +- [#368](https://github.com/archway-network/archway/pull/368) - github actions should fetch tags as well for deploy workflow +- [#370](https://github.com/archway-network/archway/pull/370) - login to ghcr ### Changed