Skip to content

Commit

Permalink
chore: change ci tag name
Browse files Browse the repository at this point in the history
  • Loading branch information
ebonian committed Oct 7, 2023
1 parent 48fef83 commit f00ecd3
Showing 1 changed file with 26 additions and 27 deletions.
53 changes: 26 additions & 27 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,34 +1,33 @@
name: 'Build static sites image'

on:
push:
branches:
- main
push:
branches:
- main

jobs:
build_image:
name: Build docker image
runs-on:
- ubuntu-latest
permissions:
contents: write
packages: write
steps:
- name: Login to the Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
build_image:
name: Build docker image
runs-on:
- ubuntu-latest
permissions:
contents: write
packages: write
steps:
- name: Login to the Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Build image
uses: docker/build-push-action@v5
with:
push: true
tags: ghcr.io/thinc-org/thinc-roadmap:latest
cache-from: type=gha
cache-to: type=gha,mode=max

- name: Build image
uses: docker/build-push-action@v5
with:
push: true
tags: ghcr.io/thinc-org/thinc-knowledge:latest
cache-from: type=gha
cache-to: type=gha,mode=max

0 comments on commit f00ecd3

Please sign in to comment.