mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
github: Update links to Docker Linux image
GitHub's Docker registry has been replaced by the Container registry. Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
committed by
Xiang Xiao
parent
5941532fb5
commit
13bf6f0fc2
@@ -18,7 +18,7 @@ inputs:
|
|||||||
required: true
|
required: true
|
||||||
runs:
|
runs:
|
||||||
using: 'docker'
|
using: 'docker'
|
||||||
image: 'docker.pkg.github.com/apache/incubator-nuttx/apache-nuttx-ci-linux'
|
image: 'ghcr.io/apache/incubator-nuttx/apache-nuttx-ci-linux'
|
||||||
args:
|
args:
|
||||||
- "/bin/bash"
|
- "/bin/bash"
|
||||||
- "-ce"
|
- "-ce"
|
||||||
|
|||||||
@@ -127,12 +127,12 @@ jobs:
|
|||||||
- name: Docker Login
|
- name: Docker Login
|
||||||
uses: azure/docker-login@v1
|
uses: azure/docker-login@v1
|
||||||
with:
|
with:
|
||||||
login-server: docker.pkg.github.com
|
login-server: ghcr.io
|
||||||
username: ${GITHUB_ACTOR}
|
username: ${GITHUB_ACTOR}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Docker Pull
|
- name: Docker Pull
|
||||||
run: docker pull docker.pkg.github.com/apache/incubator-nuttx/apache-nuttx-ci-linux
|
run: docker pull ghcr.io/apache/incubator-nuttx/apache-nuttx-ci-linux
|
||||||
- name: Export NuttX Repo SHA
|
- name: Export NuttX Repo SHA
|
||||||
run: echo "nuttx_sha=`git -C sources/nuttx rev-parse HEAD`" >> $GITHUB_ENV
|
run: echo "nuttx_sha=`git -C sources/nuttx rev-parse HEAD`" >> $GITHUB_ENV
|
||||||
- name: Run builds
|
- name: Run builds
|
||||||
|
|||||||
@@ -36,12 +36,12 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
DOCKER_BUILDKIT: 1
|
DOCKER_BUILDKIT: 1
|
||||||
IMAGE_TAG: docker.pkg.github.com/${{ github.repository }}/apache-nuttx-ci-linux
|
IMAGE_TAG: ghcr.io/${{ github.repository }}/apache-nuttx-ci-linux
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Log into registry
|
- name: Log into registry
|
||||||
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login docker.pkg.github.com -u ${{ github.actor }} --password-stdin
|
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
|
||||||
|
|
||||||
- name: Build Linux image
|
- name: Build Linux image
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user