1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Pinned github actions

This commit is contained in:
krateng 2022-02-26 23:22:55 +01:00
parent a4e06413d8
commit 86c4261a96
4 changed files with 11 additions and 11 deletions

View File

@ -13,10 +13,10 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Check out the repo - name: Check out the repo
uses: actions/checkout@v2 uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@7f80679172b057fc5e90d70d197929d454754a5a
with: with:
python-version: '3.x' python-version: '3.x'
@ -30,7 +30,7 @@ jobs:
run: python -m build run: python -m build
- name: Publish to PyPI - name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1 uses: pypa/gh-action-pypi-publish@717ba43cfbb0387f6ce311b169a825772f54d295
with: with:
user: __token__ user: __token__
password: ${{ secrets.PYPI_API_TOKEN }} password: ${{ secrets.PYPI_API_TOKEN }}

View File

@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Push Extension to Web Store - name: Push Extension to Web Store
uses: Klemensas/chrome-extension-upload-action@$VERSION uses: Klemensas/chrome-extension-upload-action@1e8ede84548583abf1a2a495f4242c4c51539337
with: with:
refresh-token: '${{ secrets.GOOGLE_REFRESHTOKEN }}' refresh-token: '${{ secrets.GOOGLE_REFRESHTOKEN }}'
client-id: '${{ secrets.GOOGLE_CLIENTID }}' client-id: '${{ secrets.GOOGLE_CLIENTID }}'

View File

@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Check out the repo - name: Check out the repo
uses: actions/checkout@v2 uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
- name: Log in to Docker Hub - name: Log in to Docker Hub
if: github.event_name != 'pull_request' if: github.event_name != 'pull_request'
@ -22,7 +22,7 @@ jobs:
- name: Extract metadata (tags, labels) for Docker - name: Extract metadata (tags, labels) for Docker
id: meta id: meta
uses: docker/metadata-action@v3 uses: docker/metadata-action@e5622373a38e60fb6d795a4421e56882f2d7a681
with: with:
images: krateng/maloja images: krateng/maloja
# generate Docker tags based on the following events/attributes # generate Docker tags based on the following events/attributes
@ -32,7 +32,7 @@ jobs:
latest=true latest=true
- name: Build and push Docker image - name: Build and push Docker image
uses: docker/build-push-action@v2 uses: docker/build-push-action@7f9d37fa544684fb73bfe4835ed7214c255ce02b
with: with:
context: . context: .
push: ${{ github.event_name != 'pull_request' }} push: ${{ github.event_name != 'pull_request' }}
@ -40,7 +40,7 @@ jobs:
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
- name: Update Readme and short description - name: Update Readme and short description
uses: peter-evans/dockerhub-description@v2 uses: peter-evans/dockerhub-description@616d1b63e806b630b975af3b4fe3304307b20f40
with: with:
username: ${{ secrets.DOCKERHUB_USERNAME }} username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }} password: ${{ secrets.DOCKERHUB_PASSWORD }}

View File

@ -11,10 +11,10 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Check out the repo - name: Check out the repo
uses: actions/checkout@v2 uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@7f80679172b057fc5e90d70d197929d454754a5a
with: with:
python-version: '3.x' python-version: '3.x'
@ -25,7 +25,7 @@ jobs:
run: python -m build run: python -m build
- name: Publish to PyPI - name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1 uses: pypa/gh-action-pypi-publish@717ba43cfbb0387f6ce311b169a825772f54d295
with: with:
user: __token__ user: __token__
password: ${{ secrets.PYPI_API_TOKEN }} password: ${{ secrets.PYPI_API_TOKEN }}