set pulseaudio for ubuntu22.04 #393
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}} |