Skip to content

Commit

Permalink
Update actions version in workflow (#61)
Browse files Browse the repository at this point in the history
* Update actions version in workflow.

* Update actions version in workflow.

---------

Co-authored-by: albam-ccbill <[email protected]>
  • Loading branch information
albamerdani and albam-ccbill authored Nov 11, 2024
1 parent eb5ed82 commit 0010e98
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ env:
jobs:
lint:
runs-on: ubuntu-22.04
container: python:3.7.4-alpine3.10
container: python:3.9.20-alpine3.20
env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
steps:
- name: Check out the repo
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Install and run pylint
run: |
apk add --no-cache --update python3-dev gcc build-base
Expand All @@ -39,13 +39,13 @@ jobs:
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
- name: Log in to registry
uses: docker/login-action@v2
uses: docker/login-action@v4
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push to GitHub Container Registry
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
push: true
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest,${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.get_version.outputs.VERSION }}

0 comments on commit 0010e98

Please sign in to comment.