wip: currently rewriting the project as a full stack application tangled.org/kacaii.dev/sigo
gleam

:fire: goodbye github!

-27
-27
.github/workflows/build-container.yml
··· 1 - name: build container image 2 - on: 3 - push: 4 - tags: 5 - - v* 6 - 7 - jobs: 8 - push: 9 - runs-on: ubuntu-latest 10 - permissions: 11 - packages: write 12 - contents: read 13 - steps: 14 - - uses: actions/checkout@v4 15 - 16 - - name: build image 17 - run: docker build . --file dockerfile --tag webapp 18 - 19 - - name: log in to registry 20 - run: echo "${{ secrets.github_token }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin 21 - 22 - - name: push image 23 - run: | 24 - image_id=ghcr.io/kacaii/senac-brigade-server 25 - tag="$image_id":$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,') 26 - docker tag webapp "$tag" 27 - docker push "$tag"