Skip to content

set pulseaudio for ubuntu22.04 #384

set pulseaudio for ubuntu22.04

set pulseaudio for ubuntu22.04 #384

Workflow file for this run

name: Docker Image CI
on:
push:
tags:
- '*'
jobs:
build_and_push:
runs-on: ubuntu-latest
env:
DOCKER_TAG: ${GITHUB_REF#refs/tags/}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to Aliyun Docker Registry
uses: docker/login-action@v1
with:
registry: registry.cn-hongkong.aliyuncs.com
username: ${{ secrets.ALIYUN_USERNAME }}
password: ${{ secrets.ALIYUN_PASSWORD }}
- name: Build Docker Image
run: bash docker_build.sh ${{env.DOCKER_TAG}}
- name: Push Docker Image to Docker Hub
run: |
docker tag ubuntu-desktop:${{env.DOCKER_TAG}} gezp/ubuntu-desktop:${{env.DOCKER_TAG}}
docker push gezp/ubuntu-desktop:${{env.DOCKER_TAG}}
- name: Push Docker Image to Aliyun Docker Registry (hongkong)
run: |
docker tag ubuntu-desktop:${{env.DOCKER_TAG}} registry.cn-hongkong.aliyuncs.com/gezp/ubuntu-desktop:${{env.DOCKER_TAG}}
docker push registry.cn-hongkong.aliyuncs.com/gezp/ubuntu-desktop:${{env.DOCKER_TAG}}