Skip to content

Commit

Permalink
fix push to github registry
Browse files Browse the repository at this point in the history
  • Loading branch information
p4u committed Jan 19, 2024
1 parent 1fcec12 commit cbb04ba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/docker-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@ jobs:
- name: Check out the repo
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.CR_PAT }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up vars used in next step
id: vars
shell: bash
Expand All @@ -36,7 +36,7 @@ jobs:
echo "GIT_HASH_SHORT=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
echo "DATE_IN_SECS=$(date +%s)" >> $GITHUB_OUTPUT
- name: Build and Push image to Docker Hub and ghcr.io
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
context: .
# platforms: linux/amd64,linux/arm64
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ jobs:
- uses: actions/download-artifact@v3
- uses: actions/setup-go@v4
with:
go-version: '1.20'
go-version: '1.21'
cache: false
- name: Convert gocoverage format
run: |
Expand Down

0 comments on commit cbb04ba

Please sign in to comment.