Skip to content

Commit

Permalink
fix: Fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
GSMLG-BOT committed Nov 11, 2024
1 parent 8ec963f commit de3be18
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 21 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/docker-buildimage-devdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,16 @@ jobs:
with:
context: docker/devdocs/
file: docker/devdocs/Dockerfile
platforms: linux/amd64,linux/arm64/v8
platforms:
- linux/amd64
- linux/arm64/v8
push: true
build-args:
- BUILD_MONTH=${{ steps.build-date.outputs.ym }}
- BUILD_DATE=${{ steps.build-date.outputs.date }}
- RUBY_VERSION=${{ steps.ruby-version.outputs.ruby-version }}
tags: |
docker.io/gsmlg/devdocs:${{ steps.build-date.outputs.date }}
ghcr.io/gsmlg-dev/devdocs:${{ steps.build-date.outputs.date }}
docker.io/gsmlg/devdocs:latest
ghcr.io/gsmlg-dev/devdocs:latest
tags:
- docker.io/gsmlg/devdocs:${{ steps.build-date.outputs.date }}
- ghcr.io/gsmlg-dev/devdocs:${{ steps.build-date.outputs.date }}
- docker.io/gsmlg/devdocs:latest
- ghcr.io/gsmlg-dev/devdocs:latest
31 changes: 16 additions & 15 deletions .github/workflows/docker-buildimage-echo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,6 @@ jobs:
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: 🚀 Release
uses: gsmlg/semantic-release-action@v3
id: semantic
with:
release_name: echo
working-directory: 'docker/echo'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand All @@ -36,15 +26,26 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_PASSWD }}
-
name: Login to Github Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v5
with:
context: docker/echo/
file: docker/echo/Dockerfile
platforms: linux/amd64,linux/386,linux/arm64/v8,linux/arm/v7,linux/arm/v6
platforms:
- linux/amd64
- linux/386
- linux/arm64/v8
- linux/arm/v7
- linux/arm/v6
push: true
tags: |
docker.io/gsmlg/echo:v${{ steps.semantic.outputs.new_release_version }}
docker.io/gsmlg/echo:latest
tags:
- docker.io/gsmlg/echo:latest
- ghcr.io/gsmlg-dev/echo:latest

0 comments on commit de3be18

Please sign in to comment.