some more exports #3
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: Build Atlantis custom image | |
on: push | |
jobs: | |
build_and_publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build an push the image | |
run: | | |
echo "${{ secrets.GHA_TOKEN }}" | docker login ghcr.io -u $ --password-stdin | |
export IMAGE_NAME=ghcr.io/${{ github.repository }} | |
export TG_VERSION=0.57.9 | |
export ATLANTIS_VERSION=0.27.3 | |
export IMAGE_TAG=$ATLANTIS_VERSION-${{ github.run_number }} | |
./customize.sh | |
docker push $IMAGE_NAME:$IMAGE_TAG |