diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a6f61835c..11393d687 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,23 +13,23 @@ jobs: name: Build runs-on: ubuntu-20.04 steps: - - name: Set up Go 1.22 - uses: actions/setup-go@v1 + - name: Set up Go 1.23 + uses: actions/setup-go@v5 with: go-version: '1.22' id: go - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - name: Set up QEMU id: qemu - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v3 - name: Available platforms run: echo ${{steps.qemu.outputs.platforms}} - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 - name: Run checks run: | @@ -37,9 +37,9 @@ jobs: - name: Build env: - REGISTRY: appscodeci - DOCKER_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} + REGISTRY: ghcr.io/appscodeci + DOCKER_TOKEN: ${{ secrets.LGTM_GITHUB_TOKEN }} USERNAME: 1gtm run: | - docker login --username ${USERNAME} --password ${DOCKER_TOKEN} + docker login ghcr.io --username ${USERNAME} --password ${DOCKER_TOKEN} make push diff --git a/.github/workflows/release-tracker.yml b/.github/workflows/release-tracker.yml index e2e10fc39..a9848e99a 100644 --- a/.github/workflows/release-tracker.yml +++ b/.github/workflows/release-tracker.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - name: Prepare git env: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4733b0409..4d94cb61d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,13 +25,13 @@ jobs: - name: Set up QEMU id: qemu - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v3 - name: Available platforms run: echo ${{steps.qemu.outputs.platforms}} - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 - name: Publish to GitHub Container Registry env: @@ -42,12 +42,3 @@ jobs: run: | docker login ghcr.io --username ${USERNAME} --password ${DOCKER_TOKEN} make release - - - name: Publish to Docker Registry - env: - DOCKER_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} - USERNAME: 1gtm - APPSCODE_ENV: prod - run: | - docker login --username ${USERNAME} --password ${DOCKER_TOKEN} - make release