Skip to content

Commit

Permalink
Release CI updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Paramtamtam committed Jun 18, 2020
1 parent 140399a commit 8fc5db4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,10 @@ jobs:
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_LOGIN }}" --password-stdin &> /dev/null

- name: Build image
run: docker build --build-arg "APP_VERSION=${APP_VERSION}" --tag "tarampampam/tinifier:${IMAGE_TAG}" -f ./Dockerfile .
run: docker build --build-arg "APP_VERSION=${APP_VERSION}" --tag "tarampampam/tinifier:${IMAGE_TAG}" --tag "tarampampam/tinifier:latest" -f ./Dockerfile .

- name: Push image
- name: Push version image
run: docker push "tarampampam/tinifier:${IMAGE_TAG}"

- name: Push latest image
run: docker push "tarampampam/tinifier:latest"

0 comments on commit 8fc5db4

Please sign in to comment.