Skip to content

Commit

Permalink
ci/cd: update GitHub Workflow
Browse files Browse the repository at this point in the history
- use v4 of rlespinasse/github-slug-action (instead of v2.x)
  - the last "build-and-publish"-action threw a warning ("This version only support linux-based workflow, please use 'rlespinasse/github-slug-action@v3.x' instead")
  • Loading branch information
Criamos committed Oct 29, 2024
1 parent 3e31cb1 commit b80f486
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ jobs:
with:
username: ${{ github.repository_owner }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- uses: rlespinasse/github-slug-action@v2.x
- name: Inject slug/short variables
uses: rlespinasse/github-slug-action@v4
- name: Build Docker image
run: docker build --tag ${{ github.repository }}:${{ env.GITHUB_REF_SLUG }} .
- name: Publish to DockerHub
Expand Down

0 comments on commit b80f486

Please sign in to comment.