ci: test musl target on new alpine docker image

This commit is contained in:
LongYinan 2021-04-12 11:10:50 +08:00
parent 8f2c57088d
commit af89f1a046
No known key found for this signature in database
GPG key ID: C3666B7FC82ADAD7
2 changed files with 5 additions and 6 deletions

View file

@ -1,9 +1,8 @@
name: Docker nightly build name: Docker nightly build
on: on:
# schedule: schedule:
# - cron: '0 1 * * *' - cron: '0 1 * * *'
push:
jobs: jobs:
build_image: build_image:

View file

@ -32,10 +32,10 @@ jobs:
- name: Pull docker image - name: Pull docker image
run: | run: |
docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD $DOCKER_REGISTRY_URL docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD $DOCKER_REGISTRY_URL
docker pull docker.pkg.github.com/napi-rs/napi-rs/nodejs-rust:lts-alpine docker pull $DOCKER_REGISTRY_URL/${{ github.repository }}/nodejs-rust:lts-alpine
docker tag docker.pkg.github.com/napi-rs/napi-rs/nodejs-rust:lts-alpine builder docker tag $DOCKER_REGISTRY_URL/${{ github.repository }}/nodejs-rust:lts-alpine builder
env: env:
DOCKER_REGISTRY_URL: docker.pkg.github.com DOCKER_REGISTRY_URL: ghcr.io
DOCKER_USERNAME: ${{ github.actor }} DOCKER_USERNAME: ${{ github.actor }}
DOCKER_PASSWORD: ${{ secrets.GITHUB_TOKEN }} DOCKER_PASSWORD: ${{ secrets.GITHUB_TOKEN }}