Skip to content

Commit

Permalink
ci: update steps to fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
jmesserli authored Jan 22, 2024
1 parent 28cb562 commit 04e691d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4.1.1

- name: Docker Setup Buildx
uses: docker/setup-buildx-action@v1.1.1
uses: docker/setup-buildx-action@v3.0.0
with:
buildkitd-flags: --debug

- name: Setup Go environment
uses: actions/setup-go@v2.1.3
uses: actions/setup-go@v5.0.0

- name: Go build
run: go build -v ./...
Expand All @@ -29,22 +29,22 @@ jobs:
run: go test -v ./...

- name: Cache Docker layers
uses: actions/cache@v2
uses: actions/cache@v4.0.0
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Docker Login
uses: docker/login-action@v1.8.0
uses: docker/login-action@v3.0.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GH_ACCESS_TOKEN }}

- name: Build Docker image
uses: docker/build-push-action@v2.2.2
uses: docker/build-push-action@v5.1.0
with:
context: .
file: ./Dockerfile
Expand Down

0 comments on commit 04e691d

Please sign in to comment.