Skip to content

Commit

Permalink
fix: fix ci (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentabtasty authored Nov 13, 2024
1 parent c81725f commit 7261159
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ jobs:

- name: Docker meta
id: meta
uses: docker/metadata-action@v5
uses: docker/metadata-action@v3
with:
# list of Docker images to use as base name for tags
images: |
ghcr.io/${{ github.repository }}
- name: Login to Registry
uses: docker/login-action@v3
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
Expand All @@ -39,7 +39,7 @@ jobs:
run: echo ::set-output name=tag::${GITHUB_REF##*/}

- name: Build and push Docker image
uses: docker/build-push-action@v6
uses: docker/build-push-action@v2.3.0
with:
push: true
tags: ${{ steps.meta.outputs.tags }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
uses: actions/setup-go@v2
with:
go-version: 1.23.3
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
Expand All @@ -41,19 +41,19 @@ jobs:

- name: Docker meta
id: meta
uses: docker/metadata-action@v5
uses: docker/metadata-action@v3
with:
# list of Docker images to use as base name for tags
images: flagshipio/decision-api

- name: Login to DockerHub
uses: docker/login-action@v3
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push Docker image
uses: docker/build-push-action@v6
uses: docker/build-push-action@v2.3.0
with:
push: true
tags: ${{ steps.meta.outputs.tags }}
Expand Down

0 comments on commit 7261159

Please sign in to comment.