Update main.yaml

Signed-off-by: dannielshalev <44364077+dannielshalev@users.noreply.github.com>
This commit is contained in:
dannielshalev 2023-04-24 17:06:42 +03:00 committed by GitHub
parent fa91ee5bfe
commit 66b79db3ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,8 +4,7 @@ on:
push: push:
branches: branches:
- main - main
- 'release/**' - 'release_v**'
env: env:
AWS_REGISTRY: "230690759643.dkr.ecr.eu-west-1.amazonaws.com" AWS_REGISTRY: "230690759643.dkr.ecr.eu-west-1.amazonaws.com"
REPOSITORY_NAME: "vnc-desktop" REPOSITORY_NAME: "vnc-desktop"
@ -37,4 +36,4 @@ jobs:
with: with:
context: . context: .
push: true push: true
tags: "${{ env.AWS_REGISTRY }}/${{ env.REPOSITORY_NAME }}:v${{ github.run_number }}" tags: "${{ env.AWS_REGISTRY }}/${{ env.REPOSITORY_NAME }}:v{{ github.ref_name }}.${{ github.run_number }}"