mirror of
https://github.com/hanzoai/docker-github-actions-runner.git
synced 2026-09-30 21:42:55 +00:00
Bump ARM git version to 2.23.0 (minimum now is 2.18)
This commit is contained in:
@@ -5,19 +5,46 @@ on:
|
||||
- '*'
|
||||
|
||||
jobs:
|
||||
release_x86:
|
||||
ubuntu_tag_deploy_x86:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Copy Repo Files
|
||||
uses: actions/checkout@master
|
||||
- name: Publish to Hub Registry
|
||||
uses: elgohr/Publish-Docker-Github-Action@master
|
||||
with:
|
||||
name: myoung34/github-runner
|
||||
username: ${{ secrets.DOCKER_USER }}
|
||||
password: ${{ secrets.DOCKER_TOKEN }}
|
||||
tag_names: true
|
||||
release_arm:
|
||||
- name: get version
|
||||
run: echo "::set-env name=TAG::$(echo ${GITHUB_REF} | sed -e "s/refs\/tags\///g")"
|
||||
- name: Build
|
||||
run: docker build -f Dockerfile.ubuntu -t myoung34/github-runner:${TAG} .
|
||||
- name: Login
|
||||
run: docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_TOKEN }}
|
||||
- name: Push to hub registry
|
||||
run: docker push myoung34/github-runner:${TAG}
|
||||
ubuntu_bionic_deploy_x86:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Copy Repo Files
|
||||
uses: actions/checkout@master
|
||||
- name: get version
|
||||
run: echo "::set-env name=TAG::$(echo ${GITHUB_REF} | sed -e "s/refs\/tags\///g")"
|
||||
- name: Build
|
||||
run: docker build -f Dockerfile.ubuntu-bionic -t myoung34/github-runner:${TAG}-ubuntu-bionic .
|
||||
- name: Login
|
||||
run: docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_TOKEN }}
|
||||
- name: Push to hub registry
|
||||
run: docker push myoung34/github-runner:${TAG}-ubuntu-bionic
|
||||
ubuntu_xenial_deploy_x86:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Copy Repo Files
|
||||
uses: actions/checkout@master
|
||||
- name: get version
|
||||
run: echo "::set-env name=TAG::$(echo ${GITHUB_REF} | sed -e "s/refs\/tags\///g")"
|
||||
- name: Build
|
||||
run: docker build -f Dockerfile.ubuntu-xenial -t myoung34/github-runner:${TAG}-ubuntu-xenial .
|
||||
- name: Login
|
||||
run: docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_TOKEN }}
|
||||
- name: Push to hub registry
|
||||
run: docker push myoung34/github-runner:${TAG}-ubuntu-xenial
|
||||
ubuntu_tag_deploy_arm:
|
||||
runs-on: self-hosted
|
||||
steps:
|
||||
- name: Copy Repo Files
|
||||
@@ -25,8 +52,34 @@ jobs:
|
||||
- name: get version
|
||||
run: echo "::set-env name=TAG::$(echo ${GITHUB_REF} | sed -e "s/refs\/tags\///g")"
|
||||
- name: Build
|
||||
run: docker build -f Dockerfile.arm -t myoung34/github-runner:${TAG}-arm .
|
||||
run: docker build -f Dockerfile.ubuntu-arm -t myoung34/github-runner:${TAG}-arm .
|
||||
- name: Login
|
||||
run: docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_TOKEN }}
|
||||
- name: Push to hub registry
|
||||
run: docker push myoung34/github-runner:${TAG}-arm
|
||||
ubuntu_bionic_deploy_arm:
|
||||
runs-on: self-hosted
|
||||
steps:
|
||||
- name: Copy Repo Files
|
||||
uses: actions/checkout@master
|
||||
- name: get version
|
||||
run: echo "::set-env name=TAG::$(echo ${GITHUB_REF} | sed -e "s/refs\/tags\///g")"
|
||||
- name: Build
|
||||
run: docker build -f Dockerfile.ubuntu-bionic-arm -t myoung34/github-runner:${TAG}-ubuntu-bionic-arm .
|
||||
- name: Login
|
||||
run: docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_TOKEN }}
|
||||
- name: Push to hub registry
|
||||
run: docker push myoung34/github-runner:${TAG}-ubuntu-bionic-arm
|
||||
ubuntu_xenial_deploy_arm:
|
||||
runs-on: self-hosted
|
||||
steps:
|
||||
- name: Copy Repo Files
|
||||
uses: actions/checkout@master
|
||||
- name: get version
|
||||
run: echo "::set-env name=TAG::$(echo ${GITHUB_REF} | sed -e "s/refs\/tags\///g")"
|
||||
- name: Build
|
||||
run: docker build -f Dockerfile.ubuntu-xenial-arm -t myoung34/github-runner:${TAG}-ubuntu-xenial-arm .
|
||||
- name: Login
|
||||
run: docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_TOKEN }}
|
||||
- name: Push to hub registry
|
||||
run: docker push myoung34/github-runner:${TAG}-ubuntu-xenial-arm
|
||||
|
||||
@@ -2,7 +2,7 @@ FROM ubuntu:bionic
|
||||
LABEL maintainer="[email protected]"
|
||||
|
||||
ARG GH_RUNNER_VERSION="2.161.0"
|
||||
ARG GIT_VERSION="2.9.2"
|
||||
ARG GIT_VERSION="2.23.0"
|
||||
|
||||
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||
# hadolint ignore=DL3003
|
||||
|
||||
@@ -2,7 +2,7 @@ FROM ubuntu:bionic
|
||||
LABEL maintainer="[email protected]"
|
||||
|
||||
ARG GH_RUNNER_VERSION="2.161.0"
|
||||
ARG GIT_VERSION="2.9.2"
|
||||
ARG GIT_VERSION="2.23.0"
|
||||
|
||||
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||
# hadolint ignore=DL3003
|
||||
|
||||
@@ -2,7 +2,7 @@ FROM ubuntu:xenial
|
||||
LABEL maintainer="[email protected]"
|
||||
|
||||
ARG GH_RUNNER_VERSION="2.161.0"
|
||||
ARG GIT_VERSION="2.9.2"
|
||||
ARG GIT_VERSION="2.23.0"
|
||||
|
||||
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||
# hadolint ignore=DL3003
|
||||
|
||||
Reference in New Issue
Block a user