Skip to content

Merge pull request #202 from sonroyaalmerol/sessions #172

Merge pull request #202 from sonroyaalmerol/sessions

Merge pull request #202 from sonroyaalmerol/sessions #172

Workflow file for this run

---
name: Developer image
on: # yamllint disable-line rule:truthy
push:
branches: [main]
paths:
- '**.go'
- 'Dockerfile'
- '**.sh'
- 'go.mod'
- 'go.sum'
jobs:
push:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Docker - Login
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Docker - Metadata
id: meta
uses: docker/metadata-action@v5
with:
images: |
${{ github.repository }}
tags: type=raw,value=dev
flavor: latest=false
- name: Docker - Build / Push
uses: docker/build-push-action@v5
with:
push: true
tags: ${{ steps.meta.outputs.tags }}