mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-06 14:20:55 +03:00
Improve docker images
This commit is contained in:
4
.github/workflows/development.yml
vendored
4
.github/workflows/development.yml
vendored
@@ -199,6 +199,6 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Run golangci-lint
|
||||
uses: golangci/golangci-lint-action@v1
|
||||
uses: golangci/golangci-lint-action@v2.2.1
|
||||
with:
|
||||
version: v1.31
|
||||
version: latest
|
||||
|
||||
9
.github/workflows/docker.yml
vendored
9
.github/workflows/docker.yml
vendored
@@ -34,7 +34,7 @@ jobs:
|
||||
- name: Gather image information
|
||||
id: info
|
||||
run: |
|
||||
DOCKER_IMAGE=ghcr.io/drakkan/sftpgo
|
||||
DOCKER_IMAGE=drakkan/sftpgo
|
||||
VERSION=noop
|
||||
DOCKERFILE=Dockerfile
|
||||
if [ "${{ github.event_name }}" = "schedule" ]; then
|
||||
@@ -75,12 +75,11 @@ jobs:
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
|
||||
- name: Login to GitHub Container Registry
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.CR_PAT }}
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
if: github.event_name != 'pull_request'
|
||||
|
||||
- name: Build and push
|
||||
|
||||
Reference in New Issue
Block a user