Skip to content

Commit

Permalink
docker shoul get :latest and tagged release now #6
Browse files Browse the repository at this point in the history
  • Loading branch information
Krzysztof Węgliński authored and Krzysztof Węgliński committed Feb 7, 2025
1 parent 1172240 commit 8e8e625
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,27 @@ jobs:
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Checkout code
uses: actions/checkout@v2

- name: Extract version from package.json
id: extract_version
run: echo "::set-output name=version::$(node -p "require('./package.json').version")"

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

- name: Build and push
uses: docker/build-push-action@v6
with:
push: true
tags: kweg/pole-libretranslate:latest
tags: |
kweg/omnipoly:${{ steps.extract_version.outputs.version }}
kweg/omnipoly:latest
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 0.7.0

- Docker tagged releases

### 0.6.1

- Fix: silly mistake, added check on string masking
Expand Down

0 comments on commit 8e8e625

Please sign in to comment.