chore: updating github actions

This commit is contained in:
2022-08-30 18:58:09 -03:00
parent 13d2c98fbe
commit b792ff7bfd

View File

@@ -19,7 +19,7 @@ jobs:
env: env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v1
with: with:
fetch-depth: 1 fetch-depth: 1
- name: Log in to Docker Hub - name: Log in to Docker Hub
@@ -31,12 +31,11 @@ jobs:
id: meta id: meta
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38 uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
with: with:
images: redbeard/minies-backend images: redbeard/makecodes
- name: Build and push Docker image - name: Build and push Docker image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
env: env:
NEXT_PUBLIC_VERSION: ${github.ref_name} SCOPE: production
NEXT_PUBLIC_SCOPE: ${{ secrets.NEXT_PUBLIC_SCOPE }}
with: with:
context: . context: .
push: true push: true