Update crystallang/crystal Docker tag to v1.14.1 #145
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 | |
on: | |
push: | |
branches: | |
- crystal | |
pull_request: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: update tag in manifest.yml | |
run: sed -i -e "s#__TAG__#${GITHUB_SHA}#g" values.yaml | |
- uses: BlindfoldedSurgery/[email protected] | |
with: | |
raw_command: lint | |
- uses: BlindfoldedSurgery/[email protected] | |
with: | |
raw_command: lint --strict | |
build_docker: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build the tagged Docker image | |
run: docker build -t ghcr.io/woog-life/preliminary-frontend:${GITHUB_SHA} . |