Renames CI jobs

Be more consistent with respect to what they do
pull/186/head
Tpt 3 years ago
parent cf64633a11
commit aad84e4305
  1. 24
      .github/workflows/artifacts.yml
  2. 8
      .github/workflows/release.yml
  3. 2
      .github/workflows/tests.yml

@ -1,4 +1,4 @@
name: doc and docker
name: Nightly artifacts
on:
push:
@ -38,39 +38,31 @@ jobs:
git push
working-directory: ./website
docker_nightly:
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
- uses: docker/setup-buildx-action@v1
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- uses: docker/metadata-action@v3
id: docker_meta
with:
images: ghcr.io/${{ github.repository_owner }}/oxigraph
images: ghcr.io/${{ github.repository }}
tags: nightly
- name: Build and publish Docker image
uses: docker/build-push-action@v2
- uses: docker/build-push-action@v2
with:
context: ./
file: ./server/Dockerfile
builder: ${{ steps.buildx.outputs.name }}
context: .
file: server/Dockerfile
pull: true
push: true
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
# Docs about caching: https://github.com/docker/build-push-action/blob/master/docs/advanced/cache.md#github-cache

@ -1,4 +1,4 @@
name: release
name: Release artifacts
on:
release:
@ -11,13 +11,13 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: true
- uses: docker/setup-buildx-action@v1
- uses: docker/metadata-action@v3
id: docker_meta
with:
images: |
oxigraph/oxigraph
${{ github.repository }}
ghcr.io/${{ github.repository }}
- uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
uses: docker/login-action@v1
with:
@ -37,6 +37,8 @@ jobs:
push: true
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
publish_rocksdb_crate:
runs-on: ubuntu-latest

@ -1,4 +1,4 @@
name: build
name: Change tests
on:
push:
Loading…
Cancel
Save