Skip to content

Merge pull request #1 from vitagroupag/db/update_image #10

Merge pull request #1 from vitagroupag/db/update_image

Merge pull request #1 from vitagroupag/db/update_image #10

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.63.6
export ATLANTIS_VERSION=0.28.5
export IMAGE_TAG=$ATLANTIS_VERSION-${{ github.run_number }}
./customize.sh
docker push $IMAGE_NAME:$IMAGE_TAG