Update Terraform aws to v5.66.0 #520
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: delivery | |
on: | |
pull_request: | |
types: | |
- closed | |
branches: | |
- 'main' | |
jobs: | |
push_to_registry: | |
name: Push Docker image to Docker Hub | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v4 | |
- name: git setting | |
run: | | |
git config --local user.email "[email protected]" | |
git config --local user.name "hmiyado" | |
- name: Build distribution app | |
run: ./gradlew clean installDist | |
- name: Set New Version | |
run: echo new_version="$(cat build/generated/version.txt)" >> "$GITHUB_ENV" | |
- name: Log in to Docker Hub | |
uses: docker/[email protected] | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
- name: Build and push Docker image | |
uses: docker/[email protected] | |
with: | |
context: . | |
push: true | |
tags: miyado/kottage:latest, miyado/kottage:${{ env.new_version }} |