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: Build and Push Docker Image to correct tags | ||
on: | ||
push: | ||
branches: | ||
- dev | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
- name: Login to Docker Hub | ||
uses: docker/login-action@v3 | ||
with: | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_ACCESS_TOKEN }} | ||
- name: Build and Push Gitpod Image | ||
uses: docker/build-push-action@v6 | ||
with: | ||
platforms: linux/amd64 | ||
push: true | ||
file: Dockerfile.gitpod | ||
tags: rustlluk/pycub:gitpod | ||
working-directory: Docker | ||
Check failure on line 33 in .github/workflows/docker.yml
|
||
- name: Build and Push VNC Image | ||
uses: docker/build-push-action@v6 | ||
with: | ||
platforms: linux/amd64,linux/arm64 | ||
push: true | ||
file: Dockerfile.vnc | ||
tags: rustlluk/pycub:vnc | ||
working-directory: Docker | ||
- name: Build and Push Standard Image | ||
uses: docker/build-push-action@v6 | ||
with: | ||
platforms: linux/amd64,linux/arm64 | ||
push: true | ||
file: Dockerfile | ||
tags: rustlluk/pycub:latest | ||
working-directory: Docker |