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
on:
# schedule:
# - cron: '0 1 * * *'
push:
schedule:
- cron: '0 1 * * *'
jobs:
build_image:

View file

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