mirror of
https://github.com/dockersrc/archlinux
synced 2026-01-27 10:34:34 -05:00
🔧 Updated workflows 🔧
.gitea/workflows/docker.yaml .gitea/workflows/publish.yaml .github/workflows/docker.yaml .github/workflows/publish.yaml
This commit is contained in:
4
.github/workflows/docker.yaml
vendored
4
.github/workflows/docker.yaml
vendored
@@ -7,7 +7,7 @@ on:
|
||||
- master
|
||||
pull_request:
|
||||
schedule:
|
||||
- cron: '0 2 * * 1'
|
||||
- cron: '0 2 2 * *'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
@@ -31,6 +31,7 @@ jobs:
|
||||
run: |
|
||||
echo "BUILD_DATE=$(date +'%Y%m%d%H%M')" >> $GITHUB_OUTPUT
|
||||
echo "DATE_TAG=$(date +'%y%m')" >> $GITHUB_OUTPUT
|
||||
echo "COMMIT_ID=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v3
|
||||
@@ -84,3 +85,4 @@ jobs:
|
||||
tags: |
|
||||
ghcr.io/${{ github.repository }}:latest
|
||||
ghcr.io/${{ github.repository }}:${{ steps.meta.outputs.DATE_TAG }}
|
||||
ghcr.io/${{ github.repository }}:${{ steps.meta.outputs.COMMIT_ID }}
|
||||
|
||||
Reference in New Issue
Block a user