new attempt 2

This commit is contained in:
bpinsard 2024-04-11 15:50:37 -04:00
parent 7bbb4f17f1
commit 7790a8c4e7
1 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ on:
workflow_dispatch: workflow_dispatch:
env: env:
REGISTRY: ${{ env.GITEA_SERVER_URL }} REGISTRY: ni-dataops.unf-montreal.ca
jobs: jobs:
build-and-push-image: build-and-push-image:
@ -26,14 +26,14 @@ jobs:
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: ${{ env.REGISTRY }} registry: ${{ env.REGISTRY }}
username: ${{ env.NIDATAOPS_BOT_NAME }} username: ${{ vars.NIDATAOPS_BOT_NAME }}
password: ${{ secrets.NIDATAOPS_BOT_REGISTRY_TOKEN }} password: ${{ secrets.NIDATAOPS_BOT_REGISTRY_TOKEN }}
- name: Extract metadata (tags, labels) for Docker - name: Extract metadata (tags, labels) for Docker
id: meta id: meta
uses: docker/metadata-action@v5 uses: docker/metadata-action@v5
with: with:
images: ${{ env.REGISTRY }}/${{ env.GITHUB_REPOSITORY_OWNER }}.${{ matrix.image }} images: ${{ env.REGISTRY }}/${{ env.GITHUB_REPOSITORY_OWNER }}/${{ matrix.image }}
- name: Build and push Docker image - name: Build and push Docker image
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5