ci: test musl target on new alpine docker image
This commit is contained in:
parent
8f2c57088d
commit
af89f1a046
2 changed files with 5 additions and 6 deletions
5
.github/workflows/docker.yaml
vendored
5
.github/workflows/docker.yaml
vendored
|
@ -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:
|
||||||
|
|
6
.github/workflows/linux-musl.yaml
vendored
6
.github/workflows/linux-musl.yaml
vendored
|
@ -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 }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue