Skip to content

some more exports

some more exports #3

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