Update docker-image.yml
This commit is contained in:
11
.github/workflows/docker-image.yml
vendored
11
.github/workflows/docker-image.yml
vendored
@@ -1,4 +1,7 @@
|
|||||||
name: Build Alpine Node.js
|
name: Build Alpine Node.js
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
packages: write
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
@@ -19,6 +22,14 @@ jobs:
|
|||||||
- name: Build the Docker image
|
- name: Build the Docker image
|
||||||
run: |
|
run: |
|
||||||
docker build --file Dockerfile --tag alpine_nodejs:${{github.event.inputs.NodeVersion}} --build-arg NodeVersion=${{github.event.inputs.NodeVersion}} --build-arg PythonVersion=${{github.event.inputs.PythonVersion}} .
|
docker build --file Dockerfile --tag alpine_nodejs:${{github.event.inputs.NodeVersion}} --build-arg NodeVersion=${{github.event.inputs.NodeVersion}} --build-arg PythonVersion=${{github.event.inputs.PythonVersion}} .
|
||||||
|
- name: Login to GitHub Container Registry
|
||||||
|
uses: docker/login-action@v1
|
||||||
|
with:
|
||||||
|
registry: ghcr.io
|
||||||
|
username: ${{ github.actor }}
|
||||||
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
- name: Debugging with tmate
|
||||||
|
uses: mxschmitt/action-tmate@v3
|
||||||
- name: Copy alpine node.js out
|
- name: Copy alpine node.js out
|
||||||
run: |
|
run: |
|
||||||
mkdir $RUNNER_TEMP/alpine_node
|
mkdir $RUNNER_TEMP/alpine_node
|
||||||
|
|||||||
Reference in New Issue
Block a user