chore(actions): update GitHub workflow actions

Update the actions in the GitHub Actions workflows to their latest
versions.
This commit is contained in:
Mohammed Keyvanzadeh 2023-04-02 11:43:19 +03:30
parent c92c2d0dcc
commit 4fcb275892
No known key found for this signature in database
GPG key ID: 81F2B98B1104E76E
4 changed files with 16 additions and 16 deletions

View file

@ -13,22 +13,22 @@ jobs:
name: Build and Push Docker image to Github Packages
steps:
- name: Check out repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Login to GitHub registry
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: docker.pkg.github.com
- name: Login to ghcr.io
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io
- name: Build and push API
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
context: api
push: true