Skip to content

Update Gleam version in prod #2

Update Gleam version in prod

Update Gleam version in prod #2

name: Build container image
on:
push:
branches:
- main
jobs:
push:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v4
- name: Log in to registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Build image
run: docker build . --file Dockerfile --tag app
- name: Push image
run: |
TAG=ghcr.io/gleam-lang/packages:main
docker tag app $TAG
docker push $TAG