Skip to content

Commit

Permalink
GitHub workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sprat committed Oct 13, 2024
1 parent 2bc5a9d commit 71331a8
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 20 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI

"on": push

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout
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.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build
uses: docker/bake-action@v5
with:
targets: all
push: ${{ github.ref == 'refs/heads/master' || github.ref_type == 'tag' }}
env:
PLATFORMS: linux/amd64,linux/arm64
TAG: ${{ github.ref_type == 'tag' && github.ref_name || '' }}
17 changes: 0 additions & 17 deletions .gitlab-ci.yml

This file was deleted.

1 change: 0 additions & 1 deletion .hadolint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
ignored:
- DL3007 # Using latest is prone to errors if the image will ever update. Pin the version explicitly to a release tag
- DL3018 # Pin versions in apk add
2 changes: 1 addition & 1 deletion .yamllint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
extends: default

rules:
document-start: false
line-length:
max: 120
1 change: 0 additions & 1 deletion compose.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
# Use "docker compose run emulator" to execute the VM, not "docker compose up"
# Otherwise you won't be able to interact with it
services:
Expand Down

0 comments on commit 71331a8

Please sign in to comment.