Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lbesson committed Jun 17, 2024
1 parent 559b5e2 commit c6698f7
Showing 1 changed file with 35 additions and 34 deletions.
69 changes: 35 additions & 34 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
- name: Install java 8 for (old) elasticsearch
uses: actions/setup-java@v4
with:
distribution: 'adopt'
distribution: "adopt"
java-version: 8
- name: Run (old) elasticsearch
run: |
Expand Down Expand Up @@ -132,36 +132,37 @@ jobs:
# secrets are not available for PR from forks, and dependabot PRs, we don't want to build them
if: ${{ github.event_name != 'pull_request' && github.actor != 'dependabot[bot]' }}
runs-on: ubuntu-latest
- name: Login to DockerHub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker meta
id: docker_meta
uses: docker/[email protected]
with:
images: ghcr.io/c2corg/v6_api
flavor: |
latest=auto
prefix=
suffix=-legacy,onlatest=true
tags: |
type=semver,pattern={{version}}
- name: Checkout repository
uses: actions/[email protected]
- run: git archive --format=tar --output project.tar "$GITHUB_SHA"
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
version: v0.9.1 # use pre 10 version of buildx
- name: Publish the docker image
uses: docker/build-push-action@v5
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}
build-args: |
VERSION=${{ github.sha }}
steps:
- name: Login to DockerHub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker meta
id: docker_meta
uses: docker/[email protected]
with:
images: ghcr.io/c2corg/v6_api
flavor: |
latest=auto
prefix=
suffix=-legacy,onlatest=true
tags: |
type=semver,pattern={{version}}
- name: Checkout repository
uses: actions/[email protected]
- run: git archive --format=tar --output project.tar "$GITHUB_SHA"
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
version: v0.9.1 # use pre 10 version of buildx
- name: Publish the docker image
uses: docker/build-push-action@v5
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}
build-args: |
VERSION=${{ github.sha }}

0 comments on commit c6698f7

Please sign in to comment.