From d788c5605bff9cee392df588ac5902a207b4eea5 Mon Sep 17 00:00:00 2001 From: Kairo Araujo Date: Tue, 27 Sep 2022 21:51:01 +0200 Subject: [PATCH] Add support to multi tags Generate the latest and tag version. Users can use old Docker images --- .github/workflows/goca-rest-api-docker-release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/goca-rest-api-docker-release.yml b/.github/workflows/goca-rest-api-docker-release.yml index 6fe75c3..85c180f 100644 --- a/.github/workflows/goca-rest-api-docker-release.yml +++ b/.github/workflows/goca-rest-api-docker-release.yml @@ -1,6 +1,7 @@ name: GoCA REST API Docker test on: + workflow_dispatch: push: tags: - '*' @@ -38,7 +39,9 @@ jobs: uses: docker/build-push-action@v2 with: push: true - tags: kairoaraujo/goca:latest + tags: | + kairoaraujo/goca:latest + Kairoaraujo/goca:${{ github.ref_name }} - name: Update repo description uses: peter-evans/dockerhub-description@v2