Skip to content

Modules update with version bump to 0.3.0 #3

Modules update with version bump to 0.3.0

Modules update with version bump to 0.3.0 #3

Workflow file for this run

name: Push to Docker Hub
on:
push:
tags: [ * ]

Check failure on line 5 in .github/workflows/docker.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/docker.yaml

Invalid workflow file

You have an error in your yaml syntax on line 5
# branches:
# - 'main'
jobs:
docker:
name: "Build and Push"
runs-on: ubuntu-latest
steps:
- name: "Setup QEMU"
uses: docker/setup-qemu-action@v3
- name: "Setup 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_TOKEN }}
- name: "Checkout"
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: "Docker meta"
id: meta
uses: docker/metadata-action@v5
with:
images: |
rainbowq/qio
tags: |
type=schedule
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=sha
- name: "Build and push"
uses: docker/build-push-action@v5
with:
push: true
context: .
file: ./Dockerfile
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}