Skip to content

Merge pull request #68 from LOLINTERNETZ/dependabot/github_actions/do… #58

Merge pull request #68 from LOLINTERNETZ/dependabot/github_actions/do…

Merge pull request #68 from LOLINTERNETZ/dependabot/github_actions/do… #58

Workflow file for this run

name: ci
on:
push:
branches:
- 'main'
release:
types: [edited, released]
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Get version
id: get_version
uses: battila7/get-version-action@v2
- name: Sync - Build and push
id: docker_build_sync
uses: docker/build-push-action@v6
with:
file: ./vscoffline/vscsync/Dockerfile
tags: lolinternet/vscsync:latest,lolinternet/vscsync:${{ steps.get_version.outputs.version-without-v }}
push: true
- name: Sync - Build and push
id: docker_build_gallery
uses: docker/build-push-action@v6
with:
file: ./vscoffline/vscgallery/Dockerfile
tags: lolinternet/vscgallery:latest,lolinternet/vscgallery:${{ steps.get_version.outputs.version-without-v }}
push: true