Switch to Fiber and HTMX #269
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: Verify and Push | |
on: [push, pull_request] | |
jobs: | |
verify: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.21.3" | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Lint code | |
uses: golangci/golangci-lint-action@v3 | |
- name: Run tests | |
run: make test | |
- name: Log in to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: cloudlena | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Set up container image build | |
uses: docker/setup-buildx-action@v3 | |
- name: Build and push container image | |
uses: docker/build-push-action@v5 | |
with: | |
push: true | |
tags: cloudlena/s3manager:latest | |
platforms: linux/amd64,linux/arm64 |