mirror of
https://github.com/dockersrc/archlinux
synced 2026-01-30 01:11:04 -05:00
🔧 Update configuration files 🔧
.gitea/workflows/docker.yaml .gitea/workflows/publish.yaml .github/workflows/docker.yaml
This commit is contained in:
@@ -6,7 +6,7 @@ on:
|
|||||||
- main
|
- main
|
||||||
- master
|
- master
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 2 2 * *'
|
- cron: '0 2 * * 1'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-push:
|
build-and-push:
|
||||||
@@ -30,7 +30,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo "BUILD_DATE=$(date +'%Y%m%d%H%M')" >> $GITHUB_OUTPUT
|
echo "BUILD_DATE=$(date +'%Y%m%d%H%M')" >> $GITHUB_OUTPUT
|
||||||
echo "DATE_TAG=$(date +'%y%m')" >> $GITHUB_OUTPUT
|
echo "DATE_TAG=$(date +'%y%m')" >> $GITHUB_OUTPUT
|
||||||
echo "COMMIT_ID=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
- name: Login to Docker Hub
|
- name: Login to Docker Hub
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
@@ -84,4 +83,3 @@ jobs:
|
|||||||
tags: |
|
tags: |
|
||||||
docker.io/casjaysdev/archlinux:latest
|
docker.io/casjaysdev/archlinux:latest
|
||||||
docker.io/casjaysdev/archlinux:${{ steps.meta.outputs.DATE_TAG }}
|
docker.io/casjaysdev/archlinux:${{ steps.meta.outputs.DATE_TAG }}
|
||||||
docker.io/casjaysdev/archlinux:${{ steps.meta.outputs.COMMIT_ID }}
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ on:
|
|||||||
- main
|
- main
|
||||||
- master
|
- master
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 2 * * 1'
|
- cron: '0 2 2 * *'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-push:
|
build-and-push:
|
||||||
@@ -30,7 +30,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo "BUILD_DATE=$(date +'%Y%m%d%H%M')" >> $GITHUB_OUTPUT
|
echo "BUILD_DATE=$(date +'%Y%m%d%H%M')" >> $GITHUB_OUTPUT
|
||||||
echo "DATE_TAG=$(date +'%y%m')" >> $GITHUB_OUTPUT
|
echo "DATE_TAG=$(date +'%y%m')" >> $GITHUB_OUTPUT
|
||||||
echo "COMMIT_ID=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
- name: Login to Docker Hub
|
- name: Login to Docker Hub
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
@@ -56,8 +55,9 @@ jobs:
|
|||||||
org.opencontainers.image.authors=CasjaysDev <docker-admin@casjaysdev.pro>
|
org.opencontainers.image.authors=CasjaysDev <docker-admin@casjaysdev.pro>
|
||||||
org.opencontainers.image.url=https://github.com/${{ github.repository }}
|
org.opencontainers.image.url=https://github.com/${{ github.repository }}
|
||||||
org.opencontainers.image.source=https://github.com/${{ github.repository }}
|
org.opencontainers.image.source=https://github.com/${{ github.repository }}
|
||||||
org.opencontainers.image.version=base
|
org.opencontainers.image.version=latest
|
||||||
org.opencontainers.image.revision=${{ github.sha }}
|
org.opencontainers.image.revision=${{ github.sha }}
|
||||||
org.opencontainers.image.created=${{ github.event.head_commit.timestamp }}
|
org.opencontainers.image.created=${{ github.event.head_commit.timestamp }}
|
||||||
tags: |
|
tags: |
|
||||||
docker.io/casjaysdev/archlinux:base
|
docker.io/casjaysdev/archlinux:latest
|
||||||
|
docker.io/casjaysdev/archlinux:${{ steps.meta.outputs.DATE_TAG }}
|
||||||
|
|||||||
4
.github/workflows/docker.yaml
vendored
4
.github/workflows/docker.yaml
vendored
@@ -7,7 +7,7 @@ on:
|
|||||||
- master
|
- master
|
||||||
pull_request:
|
pull_request:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 2 2 * *'
|
- cron: '0 2 * * 1'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -31,7 +31,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo "BUILD_DATE=$(date +'%Y%m%d%H%M')" >> $GITHUB_OUTPUT
|
echo "BUILD_DATE=$(date +'%Y%m%d%H%M')" >> $GITHUB_OUTPUT
|
||||||
echo "DATE_TAG=$(date +'%y%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
|
- name: Login to GitHub Container Registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
@@ -85,4 +84,3 @@ jobs:
|
|||||||
tags: |
|
tags: |
|
||||||
ghcr.io/${{ github.repository }}:latest
|
ghcr.io/${{ github.repository }}:latest
|
||||||
ghcr.io/${{ github.repository }}:${{ steps.meta.outputs.DATE_TAG }}
|
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